mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 17:49:21 +02:00
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");
|
||||
|
||||
// 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");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user