aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_exec.c
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2012-09-11 09:11:55 +0300
committerOliver McFadden <[email protected]>2012-09-15 12:56:44 +0300
commit53514b032626439a1824e8ea96f1c4ba45e8e8d7 (patch)
treef45e6eb45f2d123538a0f486ba18b349632652d0 /src/mesa/main/api_exec.c
parent09df07373bfd209e8e7129272c4c257e050bb961 (diff)
mesa: remove FEATURE_draw_read_buffer define.
Signed-off-by: Oliver McFadden <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/api_exec.c')
-rw-r--r--src/mesa/main/api_exec.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index c4481894566..e589701b32a 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -41,9 +41,7 @@
#include "blend.h"
#include "bufferobj.h"
#include "arrayobj.h"
-#if FEATURE_draw_read_buffer
#include "buffers.h"
-#endif
#include "clear.h"
#include "clip.h"
#include "colortab.h"
@@ -144,12 +142,9 @@ _mesa_create_exec_table(struct gl_context *ctx)
SET_ColorMask(exec, _mesa_ColorMask);
SET_CullFace(exec, _mesa_CullFace);
SET_Disable(exec, _mesa_Disable);
-#if FEATURE_draw_read_buffer
if (ctx->API == API_OPENGL || ctx->API == API_OPENGL_CORE)
SET_DrawBuffer(exec, _mesa_DrawBuffer);
-
SET_ReadBuffer(exec, _mesa_ReadBuffer);
-#endif
SET_Enable(exec, _mesa_Enable);
SET_Finish(exec, _mesa_Finish);
SET_Flush(exec, _mesa_Flush);
@@ -703,9 +698,7 @@ _mesa_create_exec_table(struct gl_context *ctx)
}
/* ARB 37. GL_ARB_draw_buffers */
-#if FEATURE_draw_read_buffer
SET_DrawBuffersARB(exec, _mesa_DrawBuffersARB);
-#endif
/* ARB 66. GL_ARB_sync */
if (ctx->API != API_OPENGLES2) {