diff options
author | Patrick Rudolph <[email protected]> | 2015-11-09 19:30:13 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-02-04 22:12:17 +0100 |
commit | eeeab8d6b48ff83c0f42480fcd43031c34bda33f (patch) | |
tree | 21c8f82855f72dc8f6159589cc54064cc3c8230d /src/gallium/state_trackers/nine/surface9.c | |
parent | a3e7525ada97fe81fe91fc19b983d2623d7572df (diff) |
st/nine: Support D3DFMT_R8G8B8
Add support for D3DFMT_R8G8B8. It allows format conversion for
surfaces of pool scratch.
Usually gallium formats equivalents for d3d9 formats
have their names reversed.
The gallium format PIPE_FORMAT_R8G8B8_UNORM is the right
equivalent here, and its name is likely wrong (reversed).
Fixes a crash in TmNationsForever.
Signed-off-by: Patrick Rudolph <[email protected]>
Reviewed-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/surface9.c')
0 files changed, 0 insertions, 0 deletions