mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 882890 - Add fake vertex attribute 0 disabling to the getVertexAttrib function to improve WebGL compatibility with driver limitations. r=bjacob
This commit is contained in:
parent
9c3393692c
commit
47c2d77d27
@ -2996,6 +2996,10 @@ WebGLContext::GetVertexAttrib(JSContext* cx, WebGLuint index, WebGLenum pname,
|
||||
}
|
||||
|
||||
case LOCAL_GL_VERTEX_ATTRIB_ARRAY_ENABLED:
|
||||
{
|
||||
return JS::BooleanValue(mAttribBuffers[index].enabled);
|
||||
}
|
||||
|
||||
case LOCAL_GL_VERTEX_ATTRIB_ARRAY_NORMALIZED:
|
||||
{
|
||||
GLint i = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user