aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/gamma
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2009-01-27 19:10:43 -0800
committerIan Romanick <[email protected]>2009-01-28 16:28:11 -0800
commit8aa209c766b79144db499063dd1c8482562b07bf (patch)
tree7dad57db6aca007ebb389149dcfdc93f60a6af45 /src/mesa/drivers/dri/gamma
parent474cda6fa912a766821d20b5b21d6eeba6ea9225 (diff)
Make GL_ARB_draw_buffers mandatory
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/gamma')
-rw-r--r--src/mesa/drivers/dri/gamma/gamma_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/gamma/gamma_context.c b/src/mesa/drivers/dri/gamma/gamma_context.c
index c91bedce3a8..b0ac299daae 100644
--- a/src/mesa/drivers/dri/gamma/gamma_context.c
+++ b/src/mesa/drivers/dri/gamma/gamma_context.c
@@ -133,6 +133,8 @@ GLboolean gammaCreateContext( const __GLcontextModes *glVisual,
ctx->Const.MaxPointSizeAA = 16.0;
ctx->Const.PointSizeGranularity = 0.25;
+ ctx->Const.MaxDrawBuffers = 1;
+
gmesa->texHeap = mmInit( 0, gmesa->gammaScreen->textureSize );
make_empty_list(&gmesa->TexObjList);