wined3d: Fix index offset for immediate mode draws.
commit0581d8614784cd24340123eae520159aeb40ec0f
authorJózef Kucia <jkucia@codeweavers.com>
Mon, 24 Oct 2016 09:57:27 +0000 (24 11:57 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 24 Oct 2016 12:02:11 +0000 (24 14:02 +0200)
treed176c0e1d3b16ae930295f40d69df241ce8c7c52
parent6c5e1aff0421b8a56e686520b6f6d11a0408871b
wined3d: Fix index offset for immediate mode draws.

This fixes 42fcf202211f62ccec21863b36076c2d5e02c1da. A non-NULL pointer
doesn't imply that the pointer isn't an offset into a buffer object data.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/drawprim.c