summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-08-22 11:42:38 -0600
committerBrian Paul <[email protected]>2017-08-24 07:30:23 -0600
commit6ad313acf524e06e66739361fb8c02eb6e44980c (patch)
tree5518ea588e3507b7f87e4f1297df1115b81c5f96 /src/mesa/state_tracker
parentf883ede9490d3613e7b2b8034e0c0baa3929b37c (diff)
st/mesa: whitespace/indentation fixes in st_init_extensions()
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_extensions.c11
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 &&