Reviewed-by: Nicolai Hähnle <[email protected]>

On 14.06.2017 02:48, Marek Olšák wrote:
From: Marek Olšák <[email protected]>

---
  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 b99a53b..0d376e4 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -511,21 +511,21 @@ static void st_init_driver_flags(struct st_context *st)
f->NewArray = ST_NEW_VERTEX_ARRAYS;
     f->NewRasterizerDiscard = ST_NEW_RASTERIZER;
     f->NewUniformBuffer = ST_NEW_UNIFORM_BUFFER;
     f->NewDefaultTessLevels = ST_NEW_TESS_STATE;
     f->NewTextureBuffer = ST_NEW_SAMPLER_VIEWS;
     f->NewAtomicBuffer = ST_NEW_ATOMIC_BUFFER;
     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;
  }
struct st_context *st_create_context(gl_api api, struct pipe_context *pipe,
                                       const struct gl_config *visual,
                                       struct st_context *share,
                                       const struct st_config_options *options)
  {
     struct gl_context *ctx;



--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to