mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
This line in SWRenderer has been wrong ever since the beginning.
This commit is contained in:
@ -148,7 +148,7 @@ void SWRenderer::DrawTexture(u8 *texture, int width, int height)
|
|||||||
glTexParameteri(TEX2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
|
glTexParameteri(TEX2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
|
||||||
|
|
||||||
GLfloat u_max = (GLfloat)width;
|
GLfloat u_max = (GLfloat)width;
|
||||||
GLfloat v_max = (GLfloat)glHeight;
|
GLfloat v_max = (GLfloat)height;
|
||||||
|
|
||||||
static const GLfloat verts[4][2] = {
|
static const GLfloat verts[4][2] = {
|
||||||
{ -1, -1}, // Left top
|
{ -1, -1}, // Left top
|
||||||
|
Reference in New Issue
Block a user