Commit 02956e4c by Nicolas Capens Committed by Nicolas Capens

Fix Direct3D 8 build.

Bug swiftshader:114 Change-Id: I4e69b85ff3fdf59cc340d3c149964d21bc4b1dd9 Reviewed-on: https://swiftshader-review.googlesource.com/20089Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent dd4c8631
......@@ -2487,13 +2487,13 @@ namespace D3D8
switch(value)
{
case D3DCULL_NONE:
renderer->setCullMode(sw::CULL_NONE);
renderer->setCullMode(sw::CULL_NONE, true);
break;
case D3DCULL_CCW:
renderer->setCullMode(sw::CULL_COUNTERCLOCKWISE);
renderer->setCullMode(sw::CULL_COUNTERCLOCKWISE, true);
break;
case D3DCULL_CW:
renderer->setCullMode(sw::CULL_CLOCKWISE);
renderer->setCullMode(sw::CULL_CLOCKWISE, true);
break;
default:
ASSERT(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment