summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-09-11 18:35:19 +0100
committerKeith Whitwell <[email protected]>2008-09-11 18:35:19 +0100
commit536092f9e072f9a1d73f7ea538857c4ffe13d11b (patch)
tree85c8ebd0a786756d6fe4228a9397066c76c878b5 /src
parentcc7dd4fc1b3c765ca1ecd943d189bb156dae529d (diff)
xlib: fix typo
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/xlib/xm_api.c2
1 files changed, 1 insertions, 1 deletions
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