wgpu: cont. fix sdl2glue on Linux

This commit is contained in:
Laytan Laats committed 2024-08-26 20:24:26 +02:00
1 parent ef98aa1fe1
commit 60cd0da2ed
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -41,6 +41,12 @@ MAJOR_VERSION :: 2
MINOR_VERSION :: 0
PATCHLEVEL :: 16
VERSION :: proc "contextless" (ver: ^version) {
ver.major = MAJOR_VERSION
ver.minor = MINOR_VERSION
ver.patch = PATCHLEVEL
}
@(default_calling_convention="c", link_prefix="SDL_")
foreign lib {
GetVersion :: proc(ver: ^version) ---