Bug 588918 - fix many valgrind uninitialized value errors - r=vladimir

This commit is contained in:
Benoit Jacob 2010-09-02 10:30:26 -04:00
parent 705b0dc1a4
commit f599f168f9

View File

@ -2556,6 +2556,9 @@ WebGLContext::RenderbufferStorage(WebGLenum target, WebGLenum internalformat, We
MakeContextCurrent();
gl->fRenderbufferStorage(target, internalformat, width, height);
// now we need to initialize the renderbuffer to 0 as per the thread "about RenderBufferStorage"
// on the public_webgl list
return NS_OK;
}