start using new string class
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user