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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user