b=622956; [webgl] add stub extension mechanism, fixes extension tests; r=bjacob

This commit is contained in:
Vladimir Vukicevic 2011-01-05 13:08:53 -08:00
Родитель 5533c6aad0
Коммит d3d92c83a3
2 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -4201,3 +4201,10 @@ int mozilla::GetWebGLTexelFormat(GLenum format, GLenum type)
}
}
}
NS_IMETHODIMP
WebGLContext::GetExtension(const nsAString& aName, nsISupports **retval)
{
*retval = nsnull;
return NS_OK;
}

Просмотреть файл

@ -834,4 +834,7 @@ interface nsIDOMWebGLRenderingContext : nsISupports
// Most useful for querying GL_VENDOR/GL_RENDERER for identifying
// the underlying renderer to the user.
[noscript] DOMString mozGetUnderlyingParamString(in WebGLenum pname);
// extensions
nsISupports getExtension(in DOMString name);
};