Browse Source

Set GLX_STENCIL_SIZE to 8 in pugl_x11.c

Fixes #217
pull/232/head
falkTX 4 years ago
parent
commit
220d36446e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      dgl/src/pugl/pugl_x11.c

+ 3
- 0
dgl/src/pugl/pugl_x11.c View File

@@ -83,6 +83,7 @@ static int attrListSgl[] = {
GLX_GREEN_SIZE, 4,
GLX_BLUE_SIZE, 4,
GLX_DEPTH_SIZE, 16,
GLX_STENCIL_SIZE, 8,
GLX_ARB_multisample, 1,
None
};
@@ -98,6 +99,7 @@ static int attrListDbl[] = {
GLX_GREEN_SIZE, 4,
GLX_BLUE_SIZE, 4,
GLX_DEPTH_SIZE, 16,
GLX_STENCIL_SIZE, 8,
GLX_ARB_multisample, 1,
None
};
@@ -114,6 +116,7 @@ static int attrListDblMS[] = {
GLX_BLUE_SIZE, 4,
GLX_ALPHA_SIZE, 4,
GLX_DEPTH_SIZE, 16,
GLX_STENCIL_SIZE, 8,
GLX_SAMPLE_BUFFERS, 1,
GLX_SAMPLES, 4,
None


Loading…
Cancel
Save