mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
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:
parent
71d0bbdcaa
commit
38ab851c26
2 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue