mirror of
https://github.com/edubart/otclient.git
synced 2025-12-22 16:27:10 +01:00
add a new folder structure redesign organized by packages
This commit is contained in:
@@ -37,7 +37,7 @@ uint Texture::internalLoadGLTexture(uchar *pixels, int channels, int width, int
|
||||
GLint texSize;
|
||||
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &texSize);
|
||||
if(width > texSize || height > texSize) {
|
||||
error("loading texture with size ",width,"x",height," failed, the maximum size is ",texSize,"x",texSize);
|
||||
logError("loading texture with size ",width,"x",height," failed, the maximum size is ",texSize,"x",texSize);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user