start using new string class

This commit is contained in:
Greg Wells
2025-05-15 19:57:13 -04:00
parent f34028a5e8
commit 054438691b
10 changed files with 169 additions and 107 deletions

View File

@@ -1,6 +1,7 @@
#include "core/debugger/gryphn_layers.h"
#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 "VK_LAYER_KHRONOS_validation";
return "GN_NO_LAYER";
if (gnStringEquals(gnName, "GN_DEFAULT_DEBUG_LAYER")) return gnCreateString("VK_LAYER_KHRONOS_validation");
return gnCreateString("GN_NO_LAYER");
}