x11 window depthbits and render text immediately

This commit is contained in:
2023-12-11 23:00:31 +02:00
committed by Illusion
parent 586d39e644
commit 609b571933
6 changed files with 31 additions and 44 deletions
+1
View File
@@ -64,6 +64,7 @@ int init_x11(Display **display, Window *window, const char* title, int window_wi
GLint visual_attributes[] = {
GLX_RENDER_TYPE, GLX_RGBA_BIT,
GLX_DEPTH_SIZE, 24,
GLX_DOUBLEBUFFER, 1,
GLX_SAMPLES, 4, // MSAA
None