Disable OpenGL overriding with MSVC / x86

Seems like a bug with MSVC when targetting 32bits targets
This commit is contained in:
Jérôme Leclercq 2020-09-26 11:50:37 +02:00
parent 65337c6a38
commit 9291ef6299
1 changed files with 2 additions and 0 deletions

View File

@ -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)