diff options
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index e37814412a3..74db53e60c9 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -1055,11 +1055,12 @@ void st_init_extensions(struct pipe_screen *screen, extensions->EXT_framebuffer_multisample_blit_scaled = GL_TRUE; } - if (consts->MaxSamples == 0 && screen->get_param(screen, PIPE_CAP_FAKE_SW_MSAA)) { - consts->FakeSWMSAA = GL_TRUE; - extensions->EXT_framebuffer_multisample = GL_TRUE; - extensions->EXT_framebuffer_multisample_blit_scaled = GL_TRUE; - extensions->ARB_texture_multisample = GL_TRUE; + if (consts->MaxSamples == 0 && + screen->get_param(screen, PIPE_CAP_FAKE_SW_MSAA)) { + consts->FakeSWMSAA = GL_TRUE; + extensions->EXT_framebuffer_multisample = GL_TRUE; + extensions->EXT_framebuffer_multisample_blit_scaled = GL_TRUE; + extensions->ARB_texture_multisample = GL_TRUE; } if (consts->MaxDualSourceDrawBuffers > 0 && |