mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
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:
@ -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();
|
||||
|
Reference in New Issue
Block a user