mesa: Remove ARB_draw_buffers extension enable flag
authorIan Romanick <ian.d.romanick@intel.com>
Sun, 2 Oct 2011 22:22:18 +0000 (15:22 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 4 Oct 2011 19:25:58 +0000 (12:25 -0700)
commit763b00f2c596e167299e81684763b52422956dfc
treecfd9f773a74a8637ad73f1fb933b7b9db3ed05fe
parenta92f02d04ad011e71595f57c310fca2f3a8ce4ec
mesa: Remove ARB_draw_buffers extension enable flag

All drivers in Mesa have supported this extension for eons.  This
extension is an optional features in desktop OpenGL (via
GL_ARB_draw_buffers) and OpenGL ES 2.x (via GL_NV_draw_buffers).

The extension is not usable in OpenGL ES 1.x.  There is no
glDrawBuffers* entry point in OpenGL ES 1.x contexts, and glGet*v
generate errors when MAX_DRAW_BUFFERS or DRAW_BUFFERi is queried.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/glsl/standalone_scaffolding.cpp
src/mesa/drivers/dri/intel/intel_extensions_es.c
src/mesa/drivers/dri/swrast/swrast.c
src/mesa/main/extensions.c
src/mesa/main/mtypes.h
src/mesa/main/version.c
src/mesa/state_tracker/st_extensions.c