mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Expose OpenGL debugging as a normal setting
This commit is contained in:
@@ -529,7 +529,8 @@ bool CEGLManager::swapBuffers()
|
||||
|
||||
bool CEGLManager::testEGLError()
|
||||
{
|
||||
#if defined(EGL_VERSION_1_0) && defined(_DEBUG)
|
||||
if (!Params.DriverDebug)
|
||||
return false;
|
||||
EGLint status = eglGetError();
|
||||
|
||||
switch (status) {
|
||||
@@ -582,9 +583,6 @@ bool CEGLManager::testEGLError()
|
||||
};
|
||||
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user