diff options
author | Xiang, Haihao <[email protected]> | 2007-07-31 09:10:31 +0800 |
---|---|---|
committer | Xiang, Haihao <[email protected]> | 2007-07-31 09:10:31 +0800 |
commit | 69337ed098bdf0def6820ccdb121b08c0e139085 (patch) | |
tree | 83f9c7e0994e052d779548df60c90cd74929f345 | |
parent | 982dcb74fd19b88208d127b8019e2a2af979cac2 (diff) |
i965: Use I16_UNORM instead of L16_UNORM (bug 11742)
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index d24c618a668..d54623175b7 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -114,7 +114,7 @@ static GLuint translate_tex_format( GLuint mesa_format ) return BRW_SURFACEFORMAT_FXT1; case MESA_FORMAT_Z16: - return BRW_SURFACEFORMAT_L16_UNORM; + return BRW_SURFACEFORMAT_I16_UNORM; case MESA_FORMAT_RGBA_DXT1: case MESA_FORMAT_RGB_DXT1: |