rename to projects (DOES NOT COMPILE)
This commit is contained in:
23
projects/platform/gryphn_platform_include.h
Normal file
23
projects/platform/gryphn_platform_include.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
#include "gryphn_rendering_api.h"
|
||||
|
||||
#ifdef GN_PLATFORM_LINUX
|
||||
#include <platform/platform_linux/gryphn_platform_linux.h>
|
||||
#endif
|
||||
|
||||
#ifdef GN_PLATFORM_MACOS
|
||||
#include <platform/platform_macos/gryphn_platform_macos.h>
|
||||
#endif
|
||||
|
||||
#ifdef GN_PLATFORM_WINDOWS
|
||||
#include "platform_windows/gryphn_platform_windows.h"
|
||||
#endif
|
||||
|
||||
gnRenderingAPI* gnGetSupportedRenderingAPIs(int* count);
|
||||
|
||||
// #ifdef __cplusplus
|
||||
// template <typename function>
|
||||
// void gnPlatformLoadDLLFunction(void *dll, function& func, gnString name) {
|
||||
// func = (function)gnLoadFunctionPtr(dll, name);
|
||||
// }
|
||||
// #endif
|
Reference in New Issue
Block a user