mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
i915: Fix for s8_z24 textures not being shown
This commit is contained in:
parent
a1524162bf
commit
081c05605f
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ translate_texture_format(enum pipe_format pipeFormat)
|
|||
return (MAPSURF_COMPRESSED | MT_COMPRESS_DXT4_5);
|
||||
#endif
|
||||
case PIPE_FORMAT_S8Z24_UNORM:
|
||||
return (MAPSURF_32BIT | MT_32BIT_xL824);
|
||||
return (MAPSURF_32BIT | MT_32BIT_xI824);
|
||||
default:
|
||||
debug_printf("i915: translate_texture_format() bad image format %x\n",
|
||||
pipeFormat);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue