fix bug running in virtualbox

This commit is contained in:
Eduardo Bart
2011-11-26 01:35:54 -02:00
parent 1386064d71
commit 9ca1637677
4 changed files with 7 additions and 5 deletions

View File

@@ -620,7 +620,7 @@ bool Platform::createWindow(int x, int y, int width, int height, int minWidth, i
logFatal("RGBA/Double buffered visual not supported");
// create GLX context
x11.glxContext = glXCreateContext(x11.display, x11.visual, NULL, False);
x11.glxContext = glXCreateContext(x11.display, x11.visual, NULL, True);
if(!x11.glxContext)
logFatal("Unable to create GLX context");