fix arg order
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ function setGraphicsCallback() {
|
|||||||
// this is the "shim graphics" callback function
|
// this is the "shim graphics" callback function
|
||||||
// it gets called every time something needs to be displayed
|
// it gets called every time something needs to be displayed
|
||||||
// or input needs to be gathered from the user
|
// or input needs to be gathered from the user
|
||||||
function windowCallback(name, fmt, retPtr, args) {
|
function windowCallback(name, retPtr, fmt, args) {
|
||||||
name = Module.UTF8ToString(name);
|
name = Module.UTF8ToString(name);
|
||||||
fmt = Module.UTF8ToString(fmt);
|
fmt = Module.UTF8ToString(fmt);
|
||||||
let argTypes = fmt.split("");
|
let argTypes = fmt.split("");
|
||||||
|
|||||||
Reference in New Issue
Block a user