mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=612334; fix webgl bind-uniform-location test; r=bjacob
This commit is contained in:
parent
8de28684e8
commit
0e4487d73c
@ -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