mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
improve clipping performance
This commit is contained in:
@@ -310,7 +310,7 @@ void WIN32Window::internalChooseGLVisual()
|
||||
0, // No Accumulation Buffer
|
||||
0, 0, 0, 0, // Accumulation Bits Ignored
|
||||
16, // 16Bit Z-Buffer (Depth Buffer)
|
||||
1, // 1Bit Stencil Buffer
|
||||
8, // 8Bit Stencil Buffer
|
||||
0, // No Auxiliary Buffer
|
||||
PFD_MAIN_PLANE, // Main Drawing Layer
|
||||
0, // Reserved
|
||||
|
@@ -369,7 +369,7 @@ void X11Window::internalChooseGLVisual()
|
||||
GLX_USE_GL,
|
||||
GLX_RGBA,
|
||||
GLX_DOUBLEBUFFER,
|
||||
GLX_STENCIL_SIZE, 1,
|
||||
GLX_STENCIL_SIZE, 8,
|
||||
/*
|
||||
GLX_ACCUM_RED_SIZE, 8,
|
||||
GLX_ACCUM_GREEN_SIZE, 8,
|
||||
|
Reference in New Issue
Block a user