st/mesa: use gl_driver_flags::NewFramebufferSRGB
authorMarek Olšák <marek.olsak@amd.com>
Sun, 4 Jun 2017 21:09:44 +0000 (23:09 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 7 Jun 2017 16:46:21 +0000 (18:46 +0200)
commitf7523f1ef6709fba0d8ee79eddcb501f30ee628d
tree6a3eabc420e5d37e6b0948ba1c2ccd90bdded27c
parentac0aff722286095ef037beb0017f8c9170ac7c23
st/mesa: use gl_driver_flags::NewFramebufferSRGB

also call st_init_driver_flags when st_context is initialized.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_context.c