1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-02-24 15:32:30 +01:00

#15 fix GetProc macros

This commit is contained in:
XProger 2016-10-07 01:17:07 +03:00
parent 3a6f3ad15a
commit 3f3a590f73

View File

@ -32,11 +32,7 @@
#endif
}
#if defined(_MSC_VER) || defined(__clang__) // Visual Studio
#define GetProcOGL(x) *(void**)&x=(void*)GetProc(#x);
#else // GCC
#define GetProcOGL(x) x=(typeof(x))GetProc(#x);
#endif
#define GetProcOGL(x) x=(decltype(x))GetProc(#x);
// Texture
#ifdef WIN32