use memset instead of bzero

This commit is contained in:
Eduardo Bart 2011-05-16 16:01:34 -03:00
parent e81e0f1c24
commit b3940b487d
1 changed files with 1 additions and 1 deletions

View File

@ -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<height;++y)
for(int x=0;x<width;++x)