fix warnning about C style classes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#undef GN_UTILS_CPP
|
||||
#include <core/debugger/gryphn_layers.h>
|
||||
|
||||
GN_EXPORT gnString gnGetPlatformLayerNameFn(const gnString& gnName) {
|
||||
if (gnStringEquals(gnName, "GN_DEFAULT_DEBUG_LAYER")) return "METAL_DEBUG_LAYER";
|
||||
return "GN_NO_LAYER";
|
||||
if (gnStringEquals(gnName, "GN_DEFAULT_DEBUG_LAYER")) return gnCreateString("METAL_DEBUG_LAYER");
|
||||
return gnCreateString("GN_NO_LAYER");
|
||||
}
|
||||
|
Reference in New Issue
Block a user