Am Mittwoch, 31. Oktober 2007 18:50:32 schrieb Fabian Bieler:
- glMatrixMode(GL_MODELVIEW);
- glPushMatrix();
- glLoadMatrixf((float *)
&stateblock->transforms[WINED3DTS_VIEW].u.m[0][0]); + if(!use_vs(stateblock->wineD3DDevice)) {
/* Clip Plane settings are affected by the model view in OpenGL,
the View transform in direct3d */ + glMatrixMode(GL_MODELVIEW);
glPushMatrix();
glLoadMatrixf((float *)
&stateblock->transforms[WINED3DTS_VIEW].u.m[0][0]); + }
Isn't this going to cause problems with the glPopMatrix afterwards?