add some typedefs

This commit is contained in:
Eduardo Bart
2011-08-28 13:31:01 -03:00
parent e87297c1b5
commit 05edcc218d
8 changed files with 20 additions and 14 deletions

View File

@@ -68,7 +68,7 @@ uint Texture::internalLoadGLTexture(uchar *pixels, int channels, int width, int
glGenTextures(1, &id);
glBindTexture(GL_TEXTURE_2D, id);
std::vector<uchar> tmp;
std::vector<uint8> tmp;
// old opengl drivers only accept power of two dimensions
if(!g_graphics.isExtensionSupported("GL_ARB_texture_non_power_of_two") && pixels) {