Typo in : wined3d: Translate before scaling for rhw as well in transform_projection().
While skimming through recently committed patches, I noticed this piece: + /* Window Coord 0 is the middle of the first pixel, so translate by 1/2 pixels */ + glTranslatef(63.0f / 128.0f, 63.0f / 128.0f, 0.0f); + checkGLcall("glTranslatef(63.0f / 128.0f, -63.0f / 128.0f, 0.0f)"); In the checkGLcall you changed the sign of the second parameter, but you didn't do this in the glTranslatef call. This seemed a bit strange (and I don't know which one would be right). HTH, Joris
On 7 September 2010 13:21, Joris Huizer <joris_huizer(a)yahoo.com> wrote:
In the checkGLcall you changed the sign of the second parameter, but you didn't do this in the glTranslatef call. This seemed a bit strange (and I don't know which one would be right).
The checkGLcall is wrong, though it only affects the message displayed in the logs.
participants (2)
-
Henri Verbeet -
Joris Huizer