st/mesa: don't update MSAA states for GL_FRAMEBUFFER_SRGB
authorMarek Olšák <marek.olsak@amd.com>
Fri, 9 Jun 2017 18:55:01 +0000 (20:55 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 19 Jun 2017 18:09:52 +0000 (20:09 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_context.c

index 80811f6cf43ec6a4bec3a27f27601f943b97f50d..a0bd9ea7e38282f0010b49ff623415b522fe607a 100644 (file)
@@ -520,7 +520,7 @@ static void st_init_driver_flags(struct st_context *st)
    f->NewShaderStorageBuffer = ST_NEW_STORAGE_BUFFER;
    f->NewImageUnits = ST_NEW_IMAGE_UNITS;
    f->NewWindowRectangles = ST_NEW_WINDOW_RECTANGLES;
-   f->NewFramebufferSRGB = ST_NEW_FRAMEBUFFER;
+   f->NewFramebufferSRGB = ST_NEW_FB_STATE;
    f->NewScissorRect = ST_NEW_SCISSOR;
    f->NewScissorTest = ST_NEW_SCISSOR | ST_NEW_RASTERIZER;
 }