Sfoglia il codice sorgente

gallium: typo: s/PIPE_FORMAT_Z16UNORM/PIPE_FORMAT_Z16_UNORM/

tags/mesa_20090313
Brian Paul 17 anni fa
parent
commit
fbf1586b36
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/gallium/winsys/xlib/xm_api.c

+ 1
- 1
src/gallium/winsys/xlib/xm_api.c Vedi 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

Loading…
Annulla
Salva