OSDN Git Service

glx: Use wrapper macro to detect direct rendering
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 4 Feb 2010 23:39:36 +0000 (15:39 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 11 Feb 2010 23:40:28 +0000 (15:40 -0800)
commit2b4e009ed56b69b243f5cc88f490dcf8166cf729
tree9da68ede5b92565a47e02d0e8d20f868ad3adb7a
parent2d1088cc17ef3920225aceefb6dc9cf2a61e4dec
glx: Use wrapper macro to detect direct rendering

The wrapper macro GC_IS_DIRECT is used in CreateContext and a couple
other places to eliminate the need for some of the '#ifdef
GLX_DIRECT_RENDERING' madness.  There appear to be a *LOT* of places
in glxcmds.c where '#ifdef GLX_DIRECT_RENDERING' is missing.
src/glx/glxcmds.c