diff options
author | Brian <[email protected]> | 2007-08-24 13:17:08 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-24 18:08:23 -0600 |
commit | 59e7bfa1de77ab03ca174bdf82fe33ab36050ce7 (patch) | |
tree | 2f3eed29f2e83a82fa8a137930d16a0a3bf2ea70 /src/mesa/pipe/i915simple | |
parent | 4fd7bc00f06a98e1db2ad886a13566f19895e3c0 (diff) |
Add support for more surface types in sp_surface.c
replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8
Diffstat (limited to 'src/mesa/pipe/i915simple')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_state_sampler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state_sampler.c b/src/mesa/pipe/i915simple/i915_state_sampler.c index e4d7fec27be..7a595d10229 100644 --- a/src/mesa/pipe/i915simple/i915_state_sampler.c +++ b/src/mesa/pipe/i915simple/i915_state_sampler.c @@ -295,7 +295,7 @@ translate_texture_format(uint pipeFormat) return MAPSURF_8BIT | MT_8BIT_I8; case PIPE_FORMAT_U_A8: return MAPSURF_8BIT | MT_8BIT_A8; - case PIPE_FORMAT_U_L8_A8: + case PIPE_FORMAT_U_A8_L8: return MAPSURF_16BIT | MT_16BIT_AY88; case PIPE_FORMAT_U_R5_G6_B5: return MAPSURF_16BIT | MT_16BIT_RGB565; |