mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 599466 - OpenGL function glGetError called on wrong GL context from GLDebugPrintError from ThebesLayerOGL::Destroy - r=vladimir, a=blocking-beta7
This commit is contained in:
parent
20f9a22235
commit
500e111cce
@ -1337,6 +1337,7 @@ public:
|
||||
inline void
|
||||
GLDebugPrintError(GLContext* aCx, const char* const aFile, int aLine)
|
||||
{
|
||||
aCx->MakeCurrent();
|
||||
GLenum err = aCx->fGetError();
|
||||
if (err) {
|
||||
printf_stderr("GL ERROR: 0x%04x at %s:%d\n", err, aFile, aLine);
|
||||
|
Loading…
Reference in New Issue
Block a user