From 63821f1cb81cc81612334aaef9f9c5efe73ffe83 Mon Sep 17 00:00:00 2001 From: Victor Porof Date: Tue, 22 Jul 2014 12:43:23 -0400 Subject: [PATCH] Bug 1041250 - Make texParameterf and texParameteri functions take enums for all params, r=jsantell --- toolkit/devtools/server/actors/call-watcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/devtools/server/actors/call-watcher.js b/toolkit/devtools/server/actors/call-watcher.js index fb07b6368b2..ab743bcf9d7 100644 --- a/toolkit/devtools/server/actors/call-watcher.js +++ b/toolkit/devtools/server/actors/call-watcher.js @@ -634,7 +634,7 @@ CallWatcherFront.ENUM_METHODS[CallWatcherFront.CANVAS_WEBGL_CONTEXT] = { stencilOpSeparate: [0, 1, 2, 3], texImage2D: (args) => args.length > 6 ? [0, 2, 6, 7] : [0, 2, 3, 4], texParameterf: [0, 1], - texParameteri: [0, 1], + texParameteri: [0, 1, 2], texSubImage2D: (args) => args.length === 9 ? [0, 6, 7] : [0, 4, 5], vertexAttribPointer: [2] };