[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: wined3d: Enable clip planes with GLSL shader backend
From: Stefan =?iso-8859-1?q?D=F6singer?= <stefandoesinger () gmx ! at>
Date: 2007-10-31 19:21:08
Message-ID: 200710312021.13654.stefandoesinger () gmx ! at
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
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]); + =20
> 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?
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic