OpenGLRenderer: Improve error handling (fixes Windows/x86 compilation)

Template specialization was failing because OpenGL function type have __stdcall convention on Windows/32bits
This commit is contained in:
Jérôme Leclercq
2021-11-02 09:43:30 +01:00
parent 9946c17a23
commit a643d0fc3a
4 changed files with 12 additions and 7 deletions

View File

@@ -95,6 +95,7 @@ namespace Nz::GL
{
ContextType type = ContextType::OpenGL_ES;
bool doubleBuffering = true;
bool wrapErrorHandling = false;
unsigned int bitsPerPixel = 32;
unsigned int depthBits = 24;
unsigned int glMajorVersion = 0;