Fixed the background color for the error screen, and updated LodePNG to the latest version.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-02-27 21:20:31 -04:00
parent b52b9c7a2b
commit b9c90e8a6f
6 changed files with 764 additions and 885 deletions
+3 -1
View File
@@ -444,7 +444,9 @@ float OpenGL::getPointSize() const
void OpenGL::bindFramebuffer(GLenum target, GLuint framebuffer)
{
glBindFramebuffer(target, framebuffer);
++stats.framebufferBinds;
if (target == GL_FRAMEBUFFER)
++stats.framebufferBinds;
}
GLuint OpenGL::getDefaultFBO() const
+2 -2
View File
@@ -163,9 +163,9 @@ PNGHandler::DecodedImage PNGHandler::decode(love::filesystem::FileData *fdata)
throw love::Exception("Could not decode PNG image (%s)", err);
}
img.width = (int) width;
img.width = (int) width;
img.height = (int) height;
img.size = width * height * 4;
img.size = width * height * 4;
return img;
}