mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
[egui] prepare for 0.1.0 release
This commit is contained in:
@@ -177,13 +177,12 @@ function getInt32Memory0() {
|
||||
}
|
||||
/**
|
||||
* @param {string} canvas_id
|
||||
* @param {number} pixels_per_point
|
||||
* @returns {State}
|
||||
*/
|
||||
__exports.new_webgl_gui = function(canvas_id, pixels_per_point) {
|
||||
__exports.new_webgl_gui = function(canvas_id) {
|
||||
var ptr0 = passStringToWasm0(canvas_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
||||
var len0 = WASM_VECTOR_LEN;
|
||||
var ret = wasm.new_webgl_gui(ptr0, len0, pixels_per_point);
|
||||
var ret = wasm.new_webgl_gui(ptr0, len0);
|
||||
return State.__wrap(ret);
|
||||
};
|
||||
|
||||
|
||||
Binary file not shown.
@@ -57,7 +57,7 @@
|
||||
|
||||
function paint_gui(canvas) {
|
||||
if (g_wasm_app === null) {
|
||||
g_wasm_app = wasm_bindgen.new_webgl_gui("canvas", pixels_per_point());
|
||||
g_wasm_app = wasm_bindgen.new_webgl_gui("canvas");
|
||||
}
|
||||
|
||||
let input = {
|
||||
|
||||
Reference in New Issue
Block a user