mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 733665 - NS_ASSERTION failure when calling WebGL getExtension - r=jgilbert
This commit is contained in:
parent
b9061c1cf2
commit
1aec65946b
@ -754,7 +754,7 @@ protected:
|
||||
WebGL_MOZ_WEBGL_lose_context,
|
||||
WebGLExtensionID_Max
|
||||
};
|
||||
nsCOMPtr<WebGLExtension> mEnabledExtensions[WebGLExtensionID_Max];
|
||||
nsRefPtr<WebGLExtension> mEnabledExtensions[WebGLExtensionID_Max];
|
||||
bool IsExtensionEnabled(WebGLExtensionID ext) const {
|
||||
NS_ABORT_IF_FALSE(ext >= 0 && ext < WebGLExtensionID_Max, "bogus index!");
|
||||
return mEnabledExtensions[ext] != nsnull;
|
||||
|
Loading…
Reference in New Issue
Block a user