Added support for POINT, WIREFRAME and SOLID fill modes.

This commit is contained in:
Christian Costa 2002-09-25 03:18:38 +00:00 committed by Alexandre Julliard
parent 3bfa1fb384
commit 80be53efee
1 changed files with 7 additions and 0 deletions

View File

@ -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: