mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-01 02:40:43 +02:00
#15 fix GetProc macros
This commit is contained in:
@@ -32,11 +32,7 @@
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(_MSC_VER) || defined(__clang__) // Visual Studio
|
#define GetProcOGL(x) x=(decltype(x))GetProc(#x);
|
||||||
#define GetProcOGL(x) *(void**)&x=(void*)GetProc(#x);
|
|
||||||
#else // GCC
|
|
||||||
#define GetProcOGL(x) x=(typeof(x))GetProc(#x);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Texture
|
// Texture
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
Reference in New Issue
Block a user