OSDN Git Service

glx: Remove GLX_USE_APPLEGL cruft in extension string handling
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 30 Nov 2011 18:55:54 +0000 (10:55 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Dec 2011 22:55:31 +0000 (14:55 -0800)
commitc66242a6c69f266eef5c6a5f2a1cece911ea9568
treeb02053696df351617c1d2bb940cfa32afde5db64
parentd3f7597bc9f6d5a5035999cdbd22501dfe9ea8aa
glx: Remove GLX_USE_APPLEGL cruft in extension string handling

All of the extensions require that both libGL and either the server or
the direct rendering driver (or both) enable the extension before it's
advertised.  It seems safe to assume that none of the other components
on OS X will enable these extensions, so all the #ifdef blocks here
just clutter the code.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Cc: Jeremy Huddleston <jeremyhu@apple.com>
src/glx/glxextensions.c