Bug 697211 - fixed stride not being returned correctly from getVertexAttrib. r=jgilbert

This commit is contained in:
Doug Sherk 2011-10-31 17:49:55 -07:00
parent 0e41e843ea
commit f5666cf39b
2 changed files with 4 additions and 2 deletions

View File

@ -3014,8 +3014,11 @@ WebGLContext::GetVertexAttrib(WebGLuint index, WebGLenum pname, nsIVariant **ret
wrval->SetAsISupports(mAttribBuffers[index].buf);
break;
case LOCAL_GL_VERTEX_ATTRIB_ARRAY_SIZE:
case LOCAL_GL_VERTEX_ATTRIB_ARRAY_STRIDE:
wrval->SetAsInt32(mAttribBuffers[index].stride);
break;
case LOCAL_GL_VERTEX_ATTRIB_ARRAY_SIZE:
case LOCAL_GL_VERTEX_ATTRIB_ARRAY_TYPE:
{
GLint i = 0;

View File

@ -4,7 +4,6 @@ conformance/glsl/misc/glsl-long-variable-names.html
conformance/glsl/misc/shader-with-256-character-identifier.frag.html
conformance/glsl/misc/shader-with-long-line.html
conformance/programs/program-test.html
conformance/state/gl-object-get-calls.html
conformance/textures/texture-mips.html
conformance/textures/texture-npot.html
conformance/more/conformance/quickCheckAPI-S_V.html