From: Keith Whitwell Date: Thu, 11 Sep 2008 17:35:19 +0000 (+0100) Subject: xlib: fix typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=536092f9e072f9a1d73f7ea538857c4ffe13d11b;p=mesa.git xlib: fix typo --- diff --git a/src/gallium/winsys/xlib/xm_api.c b/src/gallium/winsys/xlib/xm_api.c index 28bd6ceab42..d28a6423b9e 100644 --- a/src/gallium/winsys/xlib/xm_api.c +++ b/src/gallium/winsys/xlib/xm_api.c @@ -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