mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1041250 - Make texParameterf and texParameteri functions take enums for all params, r=jsantell
This commit is contained in:
parent
0745835d2e
commit
63821f1cb8
@ -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]
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user