Use double buffers fbconfig
This commit is contained in:
parent
b9b5f03a32
commit
6a381a238a
1 changed files with 7 additions and 6 deletions
3
GLX.hs
3
GLX.hs
|
@ -49,8 +49,9 @@ instance Driver GLX where
|
|||
disp <- openDisplay ""
|
||||
delwnd <- internAtom disp "WM_DELETE_WINDOW" False
|
||||
fbconfigs <- chooseFBConfig disp (fromIntegral . defaultScreen $ disp)
|
||||
[(renderType, rgbaBit)
|
||||
[ (renderType, rgbaBit)
|
||||
, (drawableType, windowBit)
|
||||
, (doublebuffer, 1)
|
||||
, (xRenderable, 1)
|
||||
, (depthSize, 1)
|
||||
, (stencilSize, 1)
|
||||
|
|
Reference in a new issue