st/mesa: remove #if FEATURE_GL/ES tests

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
Brian Paul 2013-04-09 18:43:40 -06:00
parent c04e0b9f4b
commit b74b510d64

View file

@ -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,