diff options
author | Ben Crossman <[email protected]> | 2005-04-15 17:17:47 +0000 |
---|---|---|
committer | Ben Crossman <[email protected]> | 2005-04-15 17:17:47 +0000 |
commit | 509710cfd7c45a21bf03c3746d78c0f155b8418b (patch) | |
tree | 618864f593ea22be9fad277507a440aa7bbf4e9e /src/mesa/drivers/windows/gldirect/dx7/gld_wgl_dx7.c | |
parent | efb41b07ff213735e8ea08f38a7799f9d80459fc (diff) |
more gldirect compile fixes. Getting near the linking stage now. No build file yet.
Diffstat (limited to 'src/mesa/drivers/windows/gldirect/dx7/gld_wgl_dx7.c')
-rw-r--r-- | src/mesa/drivers/windows/gldirect/dx7/gld_wgl_dx7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/windows/gldirect/dx7/gld_wgl_dx7.c b/src/mesa/drivers/windows/gldirect/dx7/gld_wgl_dx7.c index 80395130805..0f8fe33eb15 100644 --- a/src/mesa/drivers/windows/gldirect/dx7/gld_wgl_dx7.c +++ b/src/mesa/drivers/windows/gldirect/dx7/gld_wgl_dx7.c @@ -256,7 +256,7 @@ HRESULT _gldCreatePrimitiveBuffer( // If CVA (Compiled Vertex Array) is used by an OpenGL app, then we // will need enough vertices to cater for Mesa::Const.MaxArrayLockSize. // We'll use IMM_SIZE if it's larger (which it should not be). - dwMaxVertices = (IMM_SIZE < MAX_ARRAY_LOCK_SIZE) ? MAX_ARRAY_LOCK_SIZE : IMM_SIZE; + dwMaxVertices = MAX_ARRAY_LOCK_SIZE; // Max vertex buffer size limited in DX7. (DaveM) if (dwMaxVertices*9 > D3DMAXNUMVERTICES) |