mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
add some typedefs
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user