diff options
-rw-r--r-- | src/gallium/state_trackers/gbm/gbm_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/gbm/gbm_drm.c b/src/gallium/state_trackers/gbm/gbm_drm.c index bba3c05f4c6..da6d7241ae7 100644 --- a/src/gallium/state_trackers/gbm/gbm_drm.c +++ b/src/gallium/state_trackers/gbm/gbm_drm.c @@ -85,7 +85,7 @@ gbm_gallium_drm_is_format_supported(struct gbm_device *gbm, if (pf == PIPE_FORMAT_NONE) return 0; - if (!gdrm->screen->is_format_supported(gdrm->screen, PIPE_TEXTURE_2D, pf, 0, + if (!gdrm->screen->is_format_supported(gdrm->screen, pf, PIPE_TEXTURE_2D, 0, gbm_usage_to_gallium(usage))) return 0; |