use AnsiString in shader
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user