Skip to content
Snippets Groups Projects
Commit 80be53ef authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard
Browse files

Added support for POINT, WIREFRAME and SOLID fill modes.

parent 3bfa1fb3
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,14 @@ void set_render_state(D3DRENDERSTATETYPE dwRenderStateType,
case D3DRENDERSTATE_FILLMODE: /* 8 */
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:
glPolygonMode(GL_FRONT_AND_BACK,GL_FILL);
break;
default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment