Mesa (master): st/mesa: don't update MSAA states for GL_FRAMEBUFFER_SRGB

Marek Olšák mareko at kemper.freedesktop.org
Mon Jun 19 18:14:26 UTC 2017


Module: Mesa
Branch: master
Commit: 61dc2c964eb1728706ef885ed7ebbdaf6367eb30
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61dc2c964eb1728706ef885ed7ebbdaf6367eb30

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Jun  9 20:55:01 2017 +0200

st/mesa: don't update MSAA states for GL_FRAMEBUFFER_SRGB

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

---

 src/mesa/state_tracker/st_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index 80811f6cf4..a0bd9ea7e3 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -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;
 }




More information about the mesa-commit mailing list