Commit 80be53ef authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

Added support for POINT, WIREFRAME and SOLID fill modes.

parent 3bfa1fb3
...@@ -86,7 +86,14 @@ void set_render_state(D3DRENDERSTATETYPE dwRenderStateType, ...@@ -86,7 +86,14 @@ void set_render_state(D3DRENDERSTATETYPE dwRenderStateType,
case D3DRENDERSTATE_FILLMODE: /* 8 */ case D3DRENDERSTATE_FILLMODE: /* 8 */
switch ((D3DFILLMODE) dwRenderState) { switch ((D3DFILLMODE) dwRenderState) {
case D3DFILL_POINT:
glPolygonMode(GL_FRONT_AND_BACK,GL_POINT);
break;
case D3DFILL_WIREFRAME:
glPolygonMode(GL_FRONT_AND_BACK,GL_LINE);
break;
case D3DFILL_SOLID: case D3DFILL_SOLID:
glPolygonMode(GL_FRONT_AND_BACK,GL_FILL);
break; break;
default: default:
......
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