mirror of
https://github.com/XProger/OpenLara.git
synced 2025-07-31 02:10:35 +02:00
#15 fix GetProc macros
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user