OGL Plugin: added more info to an error message and some warning fixes.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2640 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
omegadox
2009-03-10 13:54:58 +00:00
parent 19921c057a
commit 31580db11d
3 changed files with 6 additions and 6 deletions

View File

@ -697,10 +697,10 @@ void TextureMngr::CopyRenderTargetToTexture(u32 address, bool bFromZBuffer, bool
GL_REPORT_ERRORD();
glBegin(GL_QUADS);
glTexCoord2f(flipped_rect.left, flipped_rect.bottom); glVertex2f(-1, 1);
glTexCoord2f(flipped_rect.left, flipped_rect.top ); glVertex2f(-1, -1);
glTexCoord2f(flipped_rect.right, flipped_rect.top ); glVertex2f( 1, -1);
glTexCoord2f(flipped_rect.right, flipped_rect.bottom); glVertex2f( 1, 1);
glTexCoord2f((GLfloat)flipped_rect.left, (GLfloat)flipped_rect.bottom); glVertex2f(-1, 1);
glTexCoord2f((GLfloat)flipped_rect.left, (GLfloat)flipped_rect.top ); glVertex2f(-1, -1);
glTexCoord2f((GLfloat)flipped_rect.right, (GLfloat)flipped_rect.top ); glVertex2f( 1, -1);
glTexCoord2f((GLfloat)flipped_rect.right, (GLfloat)flipped_rect.bottom); glVertex2f( 1, 1);
glEnd();
GL_REPORT_ERRORD();