summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-11-25 17:55:52 +0000
committerEmil Velikov <[email protected]>2017-05-19 19:46:46 +0100
commitaaea53c2c02e4d5352ce3d08dfd43b2676d32000 (patch)
tree8b88ef623aa3c0fcdab1112f3c697552c0fb91de
parentc34a008891626e9fa76324676a71e5928fd9c0fb (diff)
st/va: fix misplaced closing bracket
It's been like this since the code was introduced. Fixes: 86eb4131a90 (st/va: add headless support, i.e. VA_DISPLAY_DRM) Cc: <[email protected]> Cc: Julien Isorce <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Nayan Deshmukh <[email protected]> Reviewed-by: Christian König <[email protected]>
-rw-r--r--src/gallium/state_trackers/va/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/va/context.c b/src/gallium/state_trackers/va/context.c
index a44634c4428..44d25aed8dc 100644
--- a/src/gallium/state_trackers/va/context.c
+++ b/src/gallium/state_trackers/va/context.c
@@ -136,8 +136,8 @@ VA_DRIVER_INIT_FUNC(VADriverContextP ctx)
drv->vscreen = vl_drm_screen_create(drm_info->fd);
if (!drv->vscreen)
goto error_screen;
- }
break;
+ }
default:
FREE(drv);
return VA_STATUS_ERROR_INVALID_DISPLAY;