This line in SWRenderer has been wrong ever since the beginning.

This commit is contained in:
Ryan Houdek 2012-12-30 02:12:31 -06:00
parent b2911516de
commit 49ed752126

View file

@ -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