st/egl: Fix platform selection
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Tue, 8 Feb 2011 20:12:43 +0000 (21:12 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 8 Feb 2011 20:16:31 +0000 (15:16 -0500)
A break for case _EGL_PLATFORM_X11 is missing.
introduced by: 381ea0d67a6d84a34d23571c49bbf4339ffda364

src/gallium/state_trackers/egl/common/egl_g3d.c

index ddca1408b0a0cbfe5b7c34eb8f0dc545e07e77bb..6107df48822dab0b98ef2b8ba49bd02f0723789c 100644 (file)
@@ -102,6 +102,7 @@ egl_g3d_get_platform(_EGLDriver *drv, _EGLPlatformType plat)
 #ifdef HAVE_X11_BACKEND
          nplat = native_get_x11_platform();
 #endif
+        break;
       case _EGL_PLATFORM_WAYLAND:
          plat_name = "wayland";
 #ifdef HAVE_WAYLAND_BACKEND