Remove gnCreateWindowSurface, add platform specific window creation

functions
This commit is contained in:
Greg Wells
2025-05-13 17:35:17 -04:00
parent 556fa7b71c
commit f8a4ba22dd
22 changed files with 272 additions and 106 deletions

View File

@@ -12,7 +12,7 @@ add_compile_definitions(GN_REVEAL_IMPL)
if(WIN32)
add_compile_definitions(GN_PLATFORM_WIN32)
add_subdirectory(rendering_api/dirctx/)
# add_subdirectory(rendering_api/dirctx/)
add_subdirectory(rendering_api/vulkan/)
endif()
if(APPLE)
@@ -23,6 +23,7 @@ endif()
if(UNIX AND NOT APPLE)
add_compile_definitions(GN_PLATFORM_LINUX)
add_subdirectory(rendering_api/vulkan/)
target_include_directories(Gryphn PUBLIC ${CMAKE_SOURCE_DIR/Gryphn/rendering_api/metal/depends/metal-cpp/)
endif()
target_link_libraries(Gryphn)