Mesa (master): st/mesa: remove #if FEATURE_GL/ES tests

Brian Paul brianp at kemper.freedesktop.org
Wed Apr 10 00:46:43 UTC 2013


Module: Mesa
Branch: master
Commit: b74b510d64bc33ef36cbc02952611f847ac7f123
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b74b510d64bc33ef36cbc02952611f847ac7f123

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Apr  9 18:43:40 2013 -0600

st/mesa: remove #if FEATURE_GL/ES tests

Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

---

 src/mesa/state_tracker/st_manager.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c
index 03e086a..ff52aa1 100644
--- a/src/mesa/state_tracker/st_manager.c
+++ b/src/mesa/state_tracker/st_manager.c
@@ -28,7 +28,6 @@
 
 #include "main/mtypes.h"
 #include "main/context.h"
-#include "main/mfeatures.h"
 #include "main/texobj.h"
 #include "main/teximage.h"
 #include "main/texstate.h"
@@ -884,16 +883,10 @@ st_manager_add_color_renderbuffer(struct st_context *st,
 static const struct st_api st_gl_api = {
    "Mesa " PACKAGE_VERSION,
    ST_API_OPENGL,
-#if FEATURE_GL
    ST_PROFILE_DEFAULT_MASK |
    ST_PROFILE_OPENGL_CORE_MASK |
-#endif
-#if FEATURE_ES1
    ST_PROFILE_OPENGL_ES1_MASK |
-#endif
-#if FEATURE_ES2
    ST_PROFILE_OPENGL_ES2_MASK |
-#endif
    0,
    ST_API_FEATURE_MS_VISUALS_MASK,
    st_api_destroy,




More information about the mesa-commit mailing list