Mesa (gallium-llvmpipe): llvmpipe: add missing break in xlib _init()

Brian Paul brianp at kemper.freedesktop.org
Tue Aug 18 22:30:42 UTC 2009


Module: Mesa
Branch: gallium-llvmpipe
Commit: 3d9bcd8bf223063fe218f0494c108588042c3319
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d9bcd8bf223063fe218f0494c108588042c3319

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Aug 18 15:18:33 2009 -0600

llvmpipe: add missing break in xlib _init()

---

 src/gallium/winsys/xlib/xlib.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/winsys/xlib/xlib.c b/src/gallium/winsys/xlib/xlib.c
index 744e865..4b71cf7 100644
--- a/src/gallium/winsys/xlib/xlib.c
+++ b/src/gallium/winsys/xlib/xlib.c
@@ -96,6 +96,7 @@ static void _init( void )
 #if defined(GALLIUM_LLVMPIPE)
       xmesa_set_driver( &xlib_llvmpipe_driver );
 #endif
+      break;
    case MODE_SOFTPIPE:
 #if defined(GALLIUM_SOFTPIPE)
       xmesa_set_driver( &xlib_softpipe_driver );




More information about the mesa-commit mailing list