first commit
This commit is contained in:
11
rendering_api/metal/src/core/debugger/metal_debugger.cpp
Normal file
11
rendering_api/metal/src/core/debugger/metal_debugger.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <core/debugger/gryphn_debugger.h>
|
||||
|
||||
// these do nothing because I am too lazy to write a debugger for metal at this point in time
|
||||
GN_EXPORT gnReturnCode gnCreateDebuggerFn(gnDebugger* instance) {
|
||||
return GN_SUCCESS;
|
||||
}
|
||||
GN_EXPORT void gnDestroyDebuggerFn(gnDebugger& instance) {
|
||||
|
||||
}
|
||||
// I will at some point but if you have chosen the fate of writing this on a mac than you should really
|
||||
// hate yourself
|
||||
6
rendering_api/metal/src/core/debugger/metal_layers.cpp
Normal file
6
rendering_api/metal/src/core/debugger/metal_layers.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#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";
|
||||
}
|
||||
Reference in New Issue
Block a user