fix prosperon layout
This commit is contained in:
2
staef.c
2
staef.c
@@ -847,7 +847,7 @@ static JSValue js_msdf_font_constructor(JSContext *ctx, JSValueConst new_target,
|
||||
CELL_USE_INIT(
|
||||
// Initialize font class
|
||||
JS_NewClassID(&js_font_id);
|
||||
JS_NewClass(JS_GetRuntime(js), js_font_id, &js_font_class);
|
||||
JS_NewClass(js, js_font_id, &js_font_class);
|
||||
JS_FRAME(js);
|
||||
JS_ROOT(proto, JS_NewObject(js));
|
||||
JS_SetPropertyFunctionList(js, proto.val, js_font_funcs, countof(js_font_funcs));
|
||||
|
||||
Reference in New Issue
Block a user