Merge branch 'gallium-msaa'
[mesa.git] / src / gallium / state_trackers / egl / common / egl_g3d.c
index 5c6fe97922a7bf0944b29121f2eb07a71cddb7ad..d63b81a1c59b868a55a9cbf8416b8b4129bbe00c 100644 (file)
@@ -351,7 +351,7 @@ egl_g3d_fill_depth_stencil_formats(_EGLDisplay *dpy,
       /* pick the first supported format */
       for (i = 0; i < n; i++) {
          if (screen->is_format_supported(screen, fmt[i],
-                  PIPE_TEXTURE_2D, PIPE_BIND_DEPTH_STENCIL, 0)) {
+                  PIPE_TEXTURE_2D, 0, PIPE_BIND_DEPTH_STENCIL, 0)) {
             formats[count++] = fmt[i];
             break;
          }