Commit 0fa0ac5c authored by hybrid's avatar hybrid

Fix GLX extension handling.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2432 dfc29bdd-3216-0410-991c-e03cc46cb475
parent cc1e8710
......@@ -322,8 +322,13 @@ bool CIrrDeviceLinux::createWindow()
GLX_DEPTH_SIZE, CreationParams.ZBufferBits,
GLX_DOUBLEBUFFER, CreationParams.Doublebuffer?True:False,
GLX_STENCIL_SIZE, CreationParams.Stencilbuffer?1:0,
#ifdef GLX_ARB_multisample
GLX_SAMPLE_BUFFERS_ARB, 1,
GLX_SAMPLES_ARB, CreationParams.AntiAlias,
#elif defined(GLX_SAMPLE_BUFFERS)
GLX_SAMPLE_BUFFERS, 1,
GLX_SAMPLES, CreationParams.AntiAlias,
#endif
GLX_STEREO, CreationParams.Stereobuffer?True:False,
None
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment