summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/cubetexture9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-01-26 18:21:26 +0100
committerAxel Davy <[email protected]>2016-02-12 23:26:36 +0100
commitdbcb4f46ad792ed4f0f3cc64449ccd6288a6f386 (patch)
treed48c6bb65b94b1593c75b1e1788a227117b31599 /src/gallium/state_trackers/nine/cubetexture9.c
parent3a2e0c77848120f44031d2deb91108ff8e951d85 (diff)
st/nine: Add format checks to create_zs_or_rt_surface
Returns INVALIDCALL when trying to create a surface of unsupported format. In practice, apps are supposed to check for format support before trying to create a render target of that format. However some bad behaving apps could just try to create the surface and deduce if it failed that it wasn't supported. Signed-off-by: Axel Davy <[email protected]> Reviewed-by: Patrick Rudolph <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/cubetexture9.c')
0 files changed, 0 insertions, 0 deletions