diff --git a/src/framework/graphics/texture.cpp b/src/framework/graphics/texture.cpp index 54bf9a99..0b6fd5b1 100644 --- a/src/framework/graphics/texture.cpp +++ b/src/framework/graphics/texture.cpp @@ -53,7 +53,7 @@ uint Texture::internalLoadGLTexture(const uchar *pixels, int channels, int width uchar *out = NULL; if(m_size != m_glSize) { out = new uchar[glHeight*glWidth*channels]; - bzero(out, glHeight*glWidth*channels); + memset(out, 0, glHeight*glWidth*channels); if(pixels) for(int y=0;y