mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 732704 - compressedTexSubImage2D should take 8 arguments, not 7; r=bjacob
This commit is contained in:
parent
b2bb2520d9
commit
ea07526c91
@ -294,7 +294,7 @@ nsIDOMWebGLRenderingContext_CompressedTexSubImage2D(JSContext *cx, unsigned argc
|
||||
if (!xpc_qsUnwrapThis(cx, obj, &self, &selfref.ptr, tvr.jsval_addr(), nsnull))
|
||||
return JS_FALSE;
|
||||
|
||||
if (argc != 7)
|
||||
if (argc < 8)
|
||||
return xpc_qsThrow(cx, NS_ERROR_XPC_NOT_ENOUGH_ARGS);
|
||||
|
||||
jsval *argv = JS_ARGV(cx, vp);
|
||||
|
Loading…
Reference in New Issue
Block a user