xlib: fix typo
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 11 Sep 2008 17:35:19 +0000 (18:35 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 11 Sep 2008 17:35:19 +0000 (18:35 +0100)
src/gallium/winsys/xlib/xm_api.c

index 28bd6ceab4207fb2fcca69f8297a5dec769f1f31..d28a6423b9e4a92ab6e52adede9bf5d525ed2b24 100644 (file)
@@ -354,7 +354,7 @@ create_xmesa_buffer(XMesaDrawable d, BufferType type,
       depthFormat = PIPE_FORMAT_S8Z24_UNORM;
 #else
    else if (vis->mesa_visual.depthBits <= 16)
-      depthFormat = PIPE_FORMAT_Z16UNORM;
+      depthFormat = PIPE_FORMAT_Z16_UNORM;
    else if (vis->mesa_visual.depthBits <= 24)
       depthFormat = PIPE_FORMAT_S8Z24_UNORM;
    else