Fix starter for kha_node

This commit is contained in:
luboslenco 2019-11-20 16:50:54 +01:00
parent 7c0f25ee8c
commit 51ab281a21

View file

@ -37,7 +37,7 @@ class Starter {
if (c.window_maximizable) windowFeatures |= FeatureMaximizable;
if (c.window_minimizable) windowFeatures |= FeatureMinimizable;
#if (kha_webgl && (!arm_legacy))
#if (kha_webgl && (!arm_legacy) && (!kha_node))
try {
#end
@ -63,7 +63,7 @@ class Starter {
});
});
#if (kha_webgl && (!arm_legacy))
#if (kha_webgl && (!arm_legacy) && (!kha_node))
}
catch (e:Dynamic) {
if (!kha.SystemImpl.gl2) {