diff options
author | Ian Romanick <idr@freedesktop.org> | 2009-01-27 19:10:43 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2009-01-28 16:28:11 -0800 |
commit | 8aa209c766b79144db499063dd1c8482562b07bf (patch) | |
tree | 7dad57db6aca007ebb389149dcfdc93f60a6af45 /src/mesa/drivers/windows/gldirect/dx8 | |
parent | 474cda6fa912a766821d20b5b21d6eeba6ea9225 (diff) |
Make GL_ARB_draw_buffers mandatory
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/drivers/windows/gldirect/dx8')
-rw-r--r-- | src/mesa/drivers/windows/gldirect/dx8/gld_wgl_dx8.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/windows/gldirect/dx8/gld_wgl_dx8.c b/src/mesa/drivers/windows/gldirect/dx8/gld_wgl_dx8.c index 690f68b68f..011d810e97 100644 --- a/src/mesa/drivers/windows/gldirect/dx8/gld_wgl_dx8.c +++ b/src/mesa/drivers/windows/gldirect/dx8/gld_wgl_dx8.c @@ -1204,6 +1204,7 @@ BOOL gldInitialiseMesa_DX( MaxTextureSize >>= 1; } lpCtx->glCtx->Const.MaxTextureLevels = (TextureLevels) ? TextureLevels : 8; + lpCtx->glCtx->Const.MaxDrawBuffers = 1; IDirect3DDevice8_SetRenderState(gld->pDev, D3DRS_LIGHTING, FALSE); IDirect3DDevice8_SetRenderState(gld->pDev, D3DRS_CULLMODE, D3DCULL_NONE); |