aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/egl/fbdev/native_fbdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/egl/fbdev/native_fbdev.c')
-rw-r--r--src/gallium/state_trackers/egl/fbdev/native_fbdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/fbdev/native_fbdev.c b/src/gallium/state_trackers/egl/fbdev/native_fbdev.c
index 4a96039ac39..e2fde00e975 100644
--- a/src/gallium/state_trackers/egl/fbdev/native_fbdev.c
+++ b/src/gallium/state_trackers/egl/fbdev/native_fbdev.c
@@ -422,7 +422,7 @@ fbdev_display_init(struct native_display *ndpy)
if (fbdpy->base.screen) {
if (!fbdpy->base.screen->is_format_supported(fbdpy->base.screen,
fbdpy->config.color_format, PIPE_TEXTURE_2D, 0,
- PIPE_BIND_RENDER_TARGET, 0)) {
+ PIPE_BIND_RENDER_TARGET)) {
fbdpy->base.screen->destroy(fbdpy->base.screen);
fbdpy->base.screen = NULL;
}