diff options
author | Marek Olšák <[email protected]> | 2018-08-06 04:25:15 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-08-23 16:56:17 -0400 |
commit | d36af3a9d97772429911c5a1d8069c9b8c2f1cc7 (patch) | |
tree | dbb5fa5f7f4767d3a56a83e1000e40bff9320444 | |
parent | 3867af39f95c8b79f2662be348c1044f2259a7cc (diff) |
st/mesa: set ctx->Const.SubPixelBits
Tested-by: Dieter Nützel <[email protected]>
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 1 |
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); |