[186] AppleSGLX/trunk/glxext.c
Revision: 186 http://trac.macosforge.org/projects/xquartz/changeset/186 Author: gstaplin@apple.com Date: 2009-02-19 19:06:07 -0800 (Thu, 19 Feb 2009) Log Message: ----------- Set the GLX minor version to 4/GLX_MINOR_VERSION, so that we are forcing 1.4, even if the X server is 1.2. This works even with the 2.3.2.1 XQuartz, because so much of this implementation is different due to things like the AppleDRI, and our implementation of GLXPixmaps and GLXPbuffers. Modified Paths: -------------- AppleSGLX/trunk/glxext.c Modified: AppleSGLX/trunk/glxext.c =================================================================== --- AppleSGLX/trunk/glxext.c 2009-02-20 02:58:31 UTC (rev 185) +++ AppleSGLX/trunk/glxext.c 2009-02-20 03:06:07 UTC (rev 186) @@ -1,6 +1,7 @@ /* * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved. + * Copyright (C) 2009 Apple Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -240,7 +241,8 @@ return GL_FALSE; } *major = reply.majorVersion; - *minor = min(reply.minorVersion, GLX_MINOR_VERSION); + *minor = GLX_MINOR_VERSION; + // *minor = min(reply.minorVersion, GLX_MINOR_VERSION); return GL_TRUE; }
participants (1)
-
source_changes@macosforge.org