st/mesa: set ctx->Const.SubPixelBits
authorMarek Olšák <marek.olsak@amd.com>
Mon, 6 Aug 2018 08:25:15 +0000 (04:25 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 23 Aug 2018 20:56:17 +0000 (16:56 -0400)
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/mesa/state_tracker/st_extensions.c

index a81c68dd53aeb938389b49b2f10b8c9bf43f80b5..d1c18e4e2a0ae2043f93b297fafb25152dcdf0a1 100644 (file)
@@ -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);