Skip to content

Commit

Permalink
use vulkan in extension
Browse files Browse the repository at this point in the history
  • Loading branch information
AGulev committed Apr 21, 2024
1 parent 63fc53b commit dec2d91
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 91 deletions.
19 changes: 19 additions & 0 deletions defold-rive/ext.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,40 @@ platforms:
x86_64-linux:
context:
flags: ["-std=c++17"]
excludeLibs: [graphics]
excludeSymbols: [GraphicsAdapterOpenGL]
symbols: [GraphicsAdapterVulkan]
libs: [graphics_vulkan, X11-xcb]
dynamicLibs: [vulkan]

win32:
context:
defines: ["_CRT_SECURE_NO_WARNINGS"]
flags: ["-std=c++17", "-fno-rtti"]
cxxShFlags: ["-std=c++17", "-fno-rtti"]
cxxLinkShFlags: ["-std=c++17"]
excludeLibs: [libgraphics]
excludeSymbols: [GraphicsAdapterOpenGL]
symbols: [GraphicsAdapterVulkan]
libs: [libgraphics_vulkan.lib, vulkan-1.lib]

osx:
context:
flags: ["-std=c++17", "-fno-rtti"]
excludeLibs: [graphics]
excludeSymbols: [GraphicsAdapterOpenGL]
symbols: [GraphicsAdapterVulkan]
libs: [graphics_vulkan, MoltenVK]
frameworks: [Metal, IOSurface, QuartzCore]

ios:
context:
flags: ["-std=c++17", "-fno-aligned-allocation"]
excludeLibs: [graphics]
excludeSymbols: [GraphicsAdapterOpenGL]
symbols: [GraphicsAdapterVulkan]
libs: [graphics_vulkan, MoltenVK]
frameworks: [Metal, IOSurface, QuartzCore]

web:
context:
Expand Down
88 changes: 0 additions & 88 deletions game.appmanifest

This file was deleted.

3 changes: 0 additions & 3 deletions game.project
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ include_dirs = defold-rive
max_draw_calls = 1024
max_debug_vertices = 50000

[native_extension]
app_manifest = /game.appmanifest

[collection_proxy]
max_count = 16

Expand Down

0 comments on commit dec2d91

Please sign in to comment.