Updated readme, small bugfix

This commit is contained in:
pelya
2011-02-10 11:25:09 +00:00
parent c223d2eee3
commit a1573ce45c
3 changed files with 6 additions and 6 deletions

View File

@@ -674,7 +674,7 @@ static int setupScreenKeyboardButton( int buttonID, Uint8 * charBuf )
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, texture_w, texture_h, 0, GL_RGBA,
format ? GL_UNSIGNED_SHORT_4_4_4_4 : GL_UNSIGNED_SHORT_5_5_5_1, NULL);
//glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, w, h, GL_RGBA,
format ? GL_UNSIGNED_SHORT_4_4_4_4 : GL_UNSIGNED_SHORT_5_5_5_1,