summaryrefslogtreecommitdiffstats
path: root/src/glx/glcontextmodes.c
diff options
context:
space:
mode:
authorJeremy Huddleston <[email protected]>2010-04-01 17:00:22 -0700
committerJeremy Huddleston <[email protected]>2010-04-01 17:01:51 -0700
commit115203281cf791221f586f03c14cfe4e0a44dd7a (patch)
tree767951e542d416243041b964dd252e030cfadf5e /src/glx/glcontextmodes.c
parent9aadc793f3db64cefa0b08f18abad424a659dacc (diff)
Revert accidental commits from the xquartz tree
This reverts commit 9aadc793f3db64cefa0b08f18abad424a659dacc. This reverts commit 69ea4e7718efb60b6b0d795a355cebd6712ceac1. This reverts commit dbe8b013936d977ec63d6607bfd2fc6772d29787. This reverts commit 23215ef4d60a86d9f3b3fdc08e3fdadc59e98890. This reverts commit 9495e3703062d1ddaf3161f4efc23f0b51284d9b. This reverts commit 0594cf70883b64692ba617d85f4f9b4e636e5c2b. This reverts commit 86a7978d37393ee34f876569ac06ffdb8d7289ae. This reverts commit 437902ce978cde9a0e1aa260f12dc232a8501c42.
Diffstat (limited to 'src/glx/glcontextmodes.c')
-rw-r--r--src/glx/glcontextmodes.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/glx/glcontextmodes.c b/src/glx/glcontextmodes.c
index cdc16f8330a..eb9037907fc 100644
--- a/src/glx/glcontextmodes.c
+++ b/src/glx/glcontextmodes.c
@@ -237,11 +237,9 @@ _gl_get_context_mode_data(const __GLcontextModes * mode, int attribute,
case GLX_LEVEL:
*value_return = mode->level;
return 0;
-#ifndef GLX_USE_APPLEGL /* This isn't supported by CGL. */
case GLX_TRANSPARENT_TYPE_EXT:
*value_return = mode->transparentPixel;
return 0;
-#endif
case GLX_TRANSPARENT_RED_VALUE:
*value_return = mode->transparentRed;
return 0;
@@ -287,7 +285,6 @@ _gl_get_context_mode_data(const __GLcontextModes * mode, int attribute,
case GLX_MAX_PBUFFER_PIXELS:
*value_return = mode->maxPbufferPixels;
return 0;
-#ifndef GLX_USE_APPLEGL /* These aren't supported by CGL. */
case GLX_OPTIMAL_PBUFFER_WIDTH_SGIX:
*value_return = mode->optimalPbufferWidth;
return 0;
@@ -297,7 +294,6 @@ _gl_get_context_mode_data(const __GLcontextModes * mode, int attribute,
case GLX_SWAP_METHOD_OML:
*value_return = mode->swapMethod;
return 0;
-#endif
case GLX_SAMPLE_BUFFERS_SGIS:
*value_return = mode->sampleBuffers;
return 0;