diff options
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_context.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index 637a26332c5..0043090f1a4 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -279,12 +279,13 @@ GLboolean r200CreateContext( gl_api api, return GL_FALSE; } - driContextSetFlags(ctx, flags); - rmesa->radeon.swtcl.RenderIndex = ~0; rmesa->radeon.hw.all_dirty = 1; ctx = &rmesa->radeon.glCtx; + + driContextSetFlags(ctx, flags); + /* Initialize the software rasterizer and helper modules. */ _swrast_CreateContext( ctx ); |