From b3940b487d1f4cd35bad1eeb6ba75cd4cbb2d3bf Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Mon, 16 May 2011 16:01:34 -0300 Subject: [PATCH] use memset instead of bzero --- src/framework/graphics/texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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