mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
more opengl graphics fixes
This commit is contained in:
@@ -302,7 +302,7 @@ void WIN32Window::internalChooseGLVisual()
|
||||
1,
|
||||
PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER,
|
||||
PFD_TYPE_RGBA,
|
||||
24, // Select Our Color Depth
|
||||
32, // Select Our Color Depth
|
||||
8, 0, 8, 0, 8, 0, // Color Bits Ignored
|
||||
8, // Alpha Buffer Bits
|
||||
0, // Shift Bit Ignored
|
||||
|
@@ -387,7 +387,10 @@ void X11Window::internalChooseGLVisual()
|
||||
static int attrList[] = {
|
||||
GLX_RENDER_TYPE, GLX_RGBA_BIT,
|
||||
GLX_DOUBLEBUFFER, True,
|
||||
GLX_ALPHA_SIZE, 1,
|
||||
GLX_RED_SIZE, 8,
|
||||
GLX_GREEN_SIZE, 8,
|
||||
GLX_BLUE_SIZE, 8,
|
||||
GLX_ALPHA_SIZE, 8,
|
||||
None
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user