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:
parent
3a6f3ad15a
commit
3f3a590f73
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user