more gldirect compile fixes. Getting near the linking stage now. No build file yet.
[mesa.git] / src / mesa / drivers / windows / gldirect / dx8 / gld_wgl_dx8.c
index 1c7992ed553ddd3c07a95ff6291bc790d2da2487..690f68b68f157117eb645fb15fd5a44e11e47e99 100644 (file)
@@ -245,7 +245,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;
 
        // Now calculate how many vertices to allow for in total
        // 1 per point, 2 per line, 6 per quad = 9