b=612334; fix webgl bind-uniform-location test; r=bjacob

This commit is contained in:
Vladimir Vukicevic 2010-11-16 20:33:03 -08:00
parent 8de28684e8
commit 0e4487d73c

View File

@ -236,8 +236,10 @@ private:
class WebGLBuffer;
struct WebGLVertexAttribData {
// note that these initial values are what GL initializes vertex attribs to
WebGLVertexAttribData()
: buf(0), stride(0), size(0), byteOffset(0), type(0), enabled(PR_FALSE), normalized(PR_FALSE)
: buf(0), stride(0), size(4), byteOffset(0),
type(LOCAL_GL_FLOAT), enabled(PR_FALSE), normalized(PR_FALSE)
{ }
WebGLObjectRefPtr<WebGLBuffer> buf;