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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.