summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/egl/kms
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-05-17 21:34:30 +0200
committerRoland Scheidegger <[email protected]>2010-05-17 21:34:30 +0200
commit2a15553e431f04d13b757a3a76e4eb7d794f1219 (patch)
tree243aa7d21b1acbfdc5a514440466df0e4be3255a /src/gallium/state_trackers/egl/kms
parentbf3c8ed481047d0c446d2d3d6d1de82403783fb0 (diff)
st/egl: adapt to interface changes
Diffstat (limited to 'src/gallium/state_trackers/egl/kms')
-rw-r--r--src/gallium/state_trackers/egl/kms/native_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/kms/native_kms.c b/src/gallium/state_trackers/egl/kms/native_kms.c
index cf7188dfdb7..d81178e5592 100644
--- a/src/gallium/state_trackers/egl/kms/native_kms.c
+++ b/src/gallium/state_trackers/egl/kms/native_kms.c
@@ -563,7 +563,7 @@ kms_display_is_format_supported(struct native_display *ndpy,
enum pipe_format fmt, boolean is_color)
{
return ndpy->screen->is_format_supported(ndpy->screen,
- fmt, PIPE_TEXTURE_2D,
+ fmt, PIPE_TEXTURE_2D, 0,
(is_color) ? PIPE_BIND_RENDER_TARGET :
PIPE_BIND_DEPTH_STENCIL, 0);
}