Remove gnCreateWindowSurface, add platform specific window creation
functions
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user