Skip to content

Commit 89499ac

Browse files
author
amalxloop
committed
Fix Vulkan CI: remove duplicate SC_GFX_IMPLEMENTATION
Both sc_backend_vulkan.h and test_gfx.c compiled the sc_gfx_* dispatch functions, causing 'multiple definition' linker errors. Removed -DSC_GFX_IMPLEMENTATION from the test command — test_gfx.c defines it in source; sc_backend_vulkan.h only needs -DSC_BACKEND_VULKAN_IMPLEMENTATION for the Vulkan function implementations.
1 parent 8b7f131 commit 89499ac

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
- name: Build and run Vulkan headless test
4242
run: |
4343
clang -I include -I tools -I backends \
44-
-DSC_GFX_IMPLEMENTATION \
4544
-DSC_GFX_BACKEND_VULKAN -DSC_BACKEND_VULKAN_IMPLEMENTATION \
4645
-DSC_LAYOUT_IMPLEMENTATION -DSC_WIDGET_IMPLEMENTATION \
4746
-DSC_RUNTIME_IMPLEMENTATION -DSC_FONT_IMPLEMENTATION \

0 commit comments

Comments
 (0)