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/dx9/gld_wgl_dx9.c | |
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/dx9/gld_wgl_dx9.c')
-rw-r--r-- | src/mesa/drivers/windows/gldirect/dx9/gld_wgl_dx9.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/windows/gldirect/dx9/gld_wgl_dx9.c b/src/mesa/drivers/windows/gldirect/dx9/gld_wgl_dx9.c index dc465c5418..a03b865bb4 100644 --- a/src/mesa/drivers/windows/gldirect/dx9/gld_wgl_dx9.c +++ b/src/mesa/drivers/windows/gldirect/dx9/gld_wgl_dx9.c @@ -1206,6 +1206,7 @@ BOOL gldInitialiseMesa_DX( MaxTextureSize >>= 1; } lpCtx->glCtx->Const.MaxTextureLevels = (TextureLevels) ? TextureLevels : 8; + lpCtx->glCtx->Const.MaxDrawBuffers = 1; IDirect3DDevice9_SetRenderState(gld->pDev, D3DRS_LIGHTING, FALSE); IDirect3DDevice9_SetRenderState(gld->pDev, D3DRS_CULLMODE, D3DCULL_NONE); |