Flips the XFB around and some other things

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@881 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2008-10-15 21:12:43 +00:00
parent a3a948ac1d
commit 1972f9bf70
10 changed files with 51 additions and 27 deletions

View File

@ -144,10 +144,10 @@ void XFB_Draw(u8 *xfb_in_ram, u32 width, u32 height, s32 yOffset)
GL_REPORT_ERRORD();
glBegin(GL_QUADS);
glTexCoord2f(width, height + yOffset); glVertex2f(-1,-1);
glTexCoord2f(width, 0 + yOffset); glVertex2f(-1,1);
glTexCoord2f(0, 0 + yOffset); glVertex2f(1,1);
glTexCoord2f(0, height + yOffset); glVertex2f(1,-1);
glTexCoord2f(width, height + yOffset); glVertex2f(1,-1);
glTexCoord2f(width, 0 + yOffset); glVertex2f(1,1);
glTexCoord2f(0, 0 + yOffset); glVertex2f(-1,1);
glTexCoord2f(0, height + yOffset); glVertex2f(-1,-1);
glEnd();
glBindTexture(GL_TEXTURE_RECTANGLE_ARB, 0);