[Mesa-dev] [PATCH 10/17] Modified _mesa_init_constants to set ctx->Const.MinMapBufferAlignment to 64.

Siavash Eliasi siavashserver at gmail.com
Sun Nov 24 21:36:40 PST 2013


---
 src/mesa/main/context.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 87a4a35..9c516a2 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -586,6 +586,7 @@ _mesa_init_constants(struct gl_context *ctx)
    ctx->Const.MaxSpotExponent = 128.0;
    ctx->Const.MaxViewportWidth = MAX_VIEWPORT_WIDTH;
    ctx->Const.MaxViewportHeight = MAX_VIEWPORT_HEIGHT;
+   ctx->Const.MinMapBufferAlignment = 64;
 
    /** GL_ARB_uniform_buffer_object */
    ctx->Const.MaxCombinedUniformBlocks = 36;
-- 
1.8.4.2



More information about the mesa-dev mailing list