use AnsiString in shader

This commit is contained in:
2024-07-26 03:25:09 +08:00
parent 416b7bfcb3
commit 8f0cd9f35b
21 changed files with 53 additions and 51 deletions

View File

@@ -90,11 +90,11 @@ VK_NAMESPACE_BEGIN
}
template<typename T>
T *GetDeviceProc(const char *name)
T *GetDeviceProc(VkDevice *dev,const char *name)
{
if(!GetDeviceProcAddr)return(nullptr);
return reinterpret_cast<T>(GetDeviceProcAddr(name));
return reinterpret_cast<T>(GetDeviceProcAddr(dev,name));
}
void DestroySurface(VkSurfaceKHR);