TG: Check for GLX_VERSION_1_4

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28904 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Thomas Gamper 2009-10-28 20:06:44 +00:00
parent 71d0bbdcaa
commit 38ab851c26
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2009-10-28 Thomas Gamper <icicle@cg.tuwien.ac.at>
* Source/x11/XGGLFormat.m
Check for GLX_VERSION_1_4.
2009-10-28 Riccardo Mottola <rmottola@users.sf.net>
* Source/x11/XGGLFormat.m
cleaned up c99-isms

View file

@ -256,21 +256,29 @@ do \
case NSOpenGLPFASampleBuffers:
{
#ifdef GLX_VERSION_1_4
if ( glxminorversion >= 4 )
{
ptr++;
append(GLX_SAMPLE_BUFFERS, *ptr);
break;
}
#else
break;
#endif
}
case NSOpenGLPFASamples:
{
#ifdef GLX_VERSION_1_4
if ( glxminorversion >= 4 )
{
ptr++;
append(GLX_SAMPLES, *ptr);
break;
}
#else
break;
#endif
}
case NSOpenGLPFAAuxDepthStencil: