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