enable direct redering by default
This commit is contained in:
parent
921db724f8
commit
dabb5bb5ef
|
@ -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");
|
logFatal("RGBA/Double buffered visual not supported");
|
||||||
|
|
||||||
// create GLX context
|
// create GLX context
|
||||||
x11.glxContext = glXCreateContext(x11.display, x11.visual, NULL, False);
|
x11.glxContext = glXCreateContext(x11.display, x11.visual, NULL, True);
|
||||||
if(!x11.glxContext)
|
if(!x11.glxContext)
|
||||||
logFatal("Unable to create GLX context");
|
logFatal("Unable to create GLX context");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue