Updated stb_image to 2.12.

This commit is contained in:
Alex Szpakowski
2016-04-02 12:02:39 -03:00
parent 8ecdb889db
commit 175c3af10b
2 changed files with 516 additions and 260 deletions
+2 -2
View File
@@ -221,8 +221,8 @@ void Image::loadDefaultTexture()
setFilter(filter);
// A nice friendly checkerboard to signify invalid textures...
GLubyte px[] = {0xFF,0xFF,0xFF,0xFF, 0xFF,0xC0,0xC0,0xFF,
0xFF,0xC0,0xC0,0xFF, 0xFF,0xFF,0xFF,0xFF};
GLubyte px[] = {0xFF,0xFF,0xFF,0xFF, 0xFF,0xA0,0xA0,0xFF,
0xFF,0xA0,0xA0,0xFF, 0xFF,0xFF,0xFF,0xFF};
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, px);
}