gallium: typo: s/PIPE_FORMAT_Z16UNORM/PIPE_FORMAT_Z16_UNORM/
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 11 Sep 2008 18:01:19 +0000 (12:01 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 11 Sep 2008 18:01:19 +0000 (12:01 -0600)
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