•      Sign In
• Create Account

### #ActualBacterius

Posted 12 September 2012 - 03:06 AM

You just defined "Wireframe" as your rasterizer state structure, so you can't really use "Wireframe" as your fill mode anymore, can you see why? You don't want to call it that, try calling it "wireframeRasterizer" or somesuch. But IIRC, the error is because "Wireframe" isn't a valid constant. It's actually WIREFRAME. Same for culling mode which is BACK. But I could be incorrect... been a long time since I D3D'ed.

### #1Bacterius

Posted 11 September 2012 - 05:32 PM

You just defined "Wireframe" as your rasterizer state structure, so you can't really use "Wireframe" as your fill mode anymore, can you see why? You don't want to call it that, try calling it "wireframeRasterizer" or somesuch. But IIRC, the error is because "Wireframe" isn't a valid constant. It's actually WIREFRAME. Same for culling mode which is BACK. But I could be incorrect... been a long time since I D3D'ed.

PARTNERS