Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
401d258
)
ecere/gfx/drivers/OpenGL: Fixed leaked GLX context from OGLSystem
author
Jerome St-Louis
<jerome@ecere.com>
Sun, 17 Jul 2016 11:32:09 +0000
(20:32 +0900)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 28 Jul 2016 21:35:47 +0000
(17:35 -0400)
ecere/src/gfx/drivers/OpenGLDisplayDriver.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gfx/drivers/OpenGLDisplayDriver.ec
b/ecere/src/gfx/drivers/OpenGLDisplayDriver.ec
index
47ea984
..
2f83f91
100644
(file)
--- a/
ecere/src/gfx/drivers/OpenGLDisplayDriver.ec
+++ b/
ecere/src/gfx/drivers/OpenGLDisplayDriver.ec
@@
-1022,6
+1022,8
@@
class OpenGLDisplayDriver : DisplayDriver
XFree(oglSystem.visualInfo);
#endif
}
+ if(oglSystem.glContext)
+ glXDestroyContext(xGlobalDisplay, oglSystem.glContext);
if(oglSystem.glxDrawable)
{