Re: [PATCH 1/8] wined3d: Do not update surface when empty box is passed.
20 Jan
2016
20 Jan
'16
12:05 p.m.
On 19 January 2016 at 22:28, Józef Kucia <jkucia(a)codeweavers.com> wrote:
if (box->left >= box->right || box->right > sub_resource->width - || box->top >= box->bottom || box->bottom > sub_resource->height) + || box->top >= box->bottom || box->bottom > sub_resource->height + || box->front >= box->back)
It seems likely that you'll need to validate box->back against sub_resource->depth as well, although you may need 3D textures for a reliable test.
3618
Age (days ago)
3618
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet