load the actuall first layer

This commit is contained in:
Greg Wells
2025-06-26 14:13:24 -04:00
parent b39fc43905
commit ab3bd566d2
4 changed files with 20 additions and 14 deletions

View File

@@ -81,8 +81,6 @@ loaderLayer api_loaded_layer(gnRenderingAPI api) {
}
loaderLayer loadLayer(loaderInfo info) {
if (info.layerToLoad == no_layer) return null_layer();
if (info.layerToLoad == api_layer) return api_loaded_layer(info.api);
return null_layer();
}