radeon: move driContextSetFlags(ctx) call after ctx var is initialized

CC: "10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Brian Paul 2014-01-31 17:09:44 -07:00
parent 2d6d69bab6
commit f51ca46f0c

View file

@ -242,12 +242,13 @@ r100CreateContext( gl_api api,
return GL_FALSE;
}
driContextSetFlags(ctx, flags);
rmesa->radeon.swtcl.RenderIndex = ~0;
rmesa->radeon.hw.all_dirty = GL_TRUE;
ctx = &rmesa->radeon.glCtx;
driContextSetFlags(ctx, flags);
/* Initialize the software rasterizer and helper modules.
*/
_swrast_CreateContext( ctx );