aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/xlib
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-09-11 12:01:19 -0600
committerBrian Paul <[email protected]>2008-09-11 12:01:19 -0600
commitfbf1586b36f8fb181ecee6a285c94f11e30005ba (patch)
tree80421b90ed7f37a05648be628cd4690cc700e1ee /src/gallium/winsys/xlib
parent7d3d5fb7a57d01c99645f30189244287260239f0 (diff)
gallium: typo: s/PIPE_FORMAT_Z16UNORM/PIPE_FORMAT_Z16_UNORM/
Diffstat (limited to 'src/gallium/winsys/xlib')
-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