mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
b=612334; fix webgl bind-uniform-location test; r=bjacob
This commit is contained in:
parent
5c2612993a
commit
27d5bc23a7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user