Re: GL coordinates since 2.0.4 - what changed?
"A_SN" <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
After more research it seems like 2.0.4 must have changed to the default GL matrix mode. I now get the same results on all versions of the DLL if I call glLoadIdentity() to reset it. If I do then with both versions I can call this instead: Code: glBegin(GL_QUADS); glTexCoord2f(0.f, 0.f); glVertex2f(-1., 1.); glTexCoord2f(1.f, 0.f); glVertex2f(1., 1.); glTexCoord2f(1.f, 1.f); glVertex2f(1., -1.); glTexCoord2f(0.f, 1.f); glVertex2f(-1., -1.); glEnd(); _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org