OSDN Git Service

st/nine: Allow ColorFill on D3DFMT_NULL surfaces
authorPatrick Rudolph <siro@das-labor.org>
Sat, 5 Dec 2015 13:14:38 +0000 (14:14 +0100)
committerAxel Davy <axel.davy@ens.fr>
Thu, 4 Feb 2016 21:12:17 +0000 (22:12 +0100)
commitb142f616214c810505c63c6a22f044041dab37a7
treeee5428d832c6142b00d8570b38886c958839aefc
parent04e22a04a61e0388ccc5d8c65f79bc3cfa5ac3bc
st/nine: Allow ColorFill on D3DFMT_NULL surfaces

Report success instead of failing as there's no resource for those surfaces.
Fixes a crash in Crysis: Warhead.

Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/device9.c