aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-08-06 04:25:15 -0400
committerMarek Olšák <[email protected]>2018-08-23 16:56:17 -0400
commitd36af3a9d97772429911c5a1d8069c9b8c2f1cc7 (patch)
treedbb5fa5f7f4767d3a56a83e1000e40bff9320444 /src/mesa/state_tracker
parent3867af39f95c8b79f2662be348c1044f2259a7cc (diff)
st/mesa: set ctx->Const.SubPixelBits
Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_extensions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index a81c68dd53a..d1c18e4e2a0 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -111,6 +111,7 @@ void st_init_limits(struct pipe_screen *screen,
c->MaxViewportHeight =
c->MaxRenderbufferSize = c->MaxTextureRectSize;
+ c->SubPixelBits =
c->ViewportSubpixelBits =
screen->get_param(screen, PIPE_CAP_VIEWPORT_SUBPIXEL_BITS);