Disable OpenGL overriding with MSVC / x86
Seems like a bug with MSVC when targetting 32bits targets
This commit is contained in:
parent
65337c6a38
commit
9291ef6299
|
|
@ -73,6 +73,7 @@ namespace Nz::GL
|
|||
|
||||
func = reinterpret_cast<FuncType>(originalFuncPtr);
|
||||
|
||||
#if !defined(NAZARA_COMPILER_MSVC) || NAZARA_PLATFORM_x64
|
||||
#if NAZARA_OPENGLRENDERER_DEBUG
|
||||
if (func)
|
||||
{
|
||||
|
|
@ -82,6 +83,7 @@ namespace Nz::GL
|
|||
func = Wrapper::WrapErrorHandling();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (!func)
|
||||
|
|
|
|||
Loading…
Reference in New Issue