Commit Graph
407 Commits
Author SHA1 Message Date
Sam Lantinga 814deb9438 Updated to version 3.2.31 for development 2025-12-31 17:54:27 -08:00
Sam Lantinga 3588d09b1c Updated to version 3.2.30 for release 2025-12-31 16:33:51 -08:00
Sam Lantinga a7de0d9a3e Updated to version 3.2.29 for development 2025-12-02 13:02:25 -08:00
Sam Lantinga 7f3ae3d574 Updated to version 3.2.28 for release 2025-12-02 07:47:05 -08:00
Anonymous Maarten 148d8c4995 release: don't download pre-release dependencies + strict version parsing
(cherry picked from commit 0da649eb72)
2025-11-04 18:00:48 +01:00
Anonymous Maarten 024221d448 release: sync scripts with main branch
[ci skip]
2025-11-03 00:11:55 +01:00
Sam Lantinga bca544448f Updated to version 3.2.27 for development 2025-10-30 10:18:08 -07:00
Sam Lantinga b140291cd0 Updated to version 3.2.26 for release 2025-10-30 09:10:42 -07:00
Peter0x44 5a9050aea3 Make D3D math functions static inline to reduce likelihood of linking conflicts
Convert SDL_d3dmath.c functions to static inline in SDL_d3dmath.h to make
it less likely to conflict when static linking SDL. raylib's SDL backend
does not work with a "normal" upstream binary static link. It has these
errors:

/usr/bin/ld: /usr/local/lib64/libSDL3.a(SDL_d3dmath.c.o): in function `MatrixIdentity':
SDL/src/render/SDL_d3dmath.c:35: multiple definition of `MatrixIdentity'; CMakeFiles/raylib.dir/rcore.c.o:rcore.c:(.text+0x18470): first defined here
/usr/bin/ld: /usr/local/lib64/libSDL3.a(SDL_d3dmath.c.o): in function `MatrixMultiply':
SDL/src/render/SDL_d3dmath.c:44: multiple definition of `MatrixMultiply'; CMakeFiles/raylib.dir/rcore.c.o:rcore.c:(.text+0x18540): first defined here
collect2: error: ld returned 1 exit status

It works if these functions aren't emitted, (i.e.
!SDL_VIDEO_RENDER_D3D(11|12|GPU|VULKAN)

Or, if SDL is not linked static. Which I know is preferred anyway.

In raylib's case, it doesn't use this code anyway so it's not a problem
to build it yourself with them disabled. But it's a minor hassle to be
incompatible with static linking libraries from upstream.

I can't see any good reason for these functions to not be static inline
already, so I just put them in the header and deleted the .c.

Raylib's conflicting case is a library with a public function exposed to
users. But SDL's case is not.

- Moved all matrix functions from SDL_d3dmath.c to SDL_d3dmath.h as static inline
- Removed SDL_d3dmath.c from all project files (Visual Studio and Xcode)
- Functions affected: MatrixIdentity, MatrixMultiply, MatrixScaling,
  MatrixTranslation, MatrixRotationX, MatrixRotationY, MatrixRotationZ

(cherry picked from commit 705ced8cf5)
2025-10-14 16:58:04 -07:00
DominusExult 19b646849c Adding dSYMs (DWARF debug symbols) to the xcFramework.
Needed to generate debug symbols for both release and debug builds and explicitly set the format so all arches actually generate the dSYMs.
This allows distributing an SDL3 app to the AppStore without the need to generate the dSYMs via script when using either the xcFramework or embedding the SDL3 Xcode project.
Fixes #13573

(cherry picked from commit 98c03c644a)
2025-10-13 08:35:25 -07:00
Sam Lantinga 3eb9328d3e Updated to version 3.2.25 for development 2025-10-02 11:36:07 -07:00
Sam Lantinga a8589a8422 Updated to version 3.2.24 for release 2025-10-02 10:52:32 -07:00
Sam Lantinga 03b36bac94 Updated to version 3.2.23 for development 2025-09-01 15:12:43 -07:00
Sam Lantinga a96677bdf6 Updated to version 3.2.22 for release 2025-09-01 14:40:32 -07:00
Sam Lantinga 8e46e5d8b4 Updated to version 3.2.21 for development 2025-08-04 11:54:34 -07:00
Sam Lantinga 96292a5b46 Updated to version 3.2.20 for release 2025-08-04 09:58:55 -07:00
Sam Lantinga a6ed8ab59d Updated to version 3.2.19 for development 2025-07-14 11:44:22 -07:00
Sam Lantinga 913813a933 Updated to version 3.2.18 for release 2025-07-11 15:56:55 -07:00
Sam Lantinga d726e98596 Updated to version 3.2.17 for development 2025-06-02 15:57:36 -07:00
Sam Lantinga 59693c8996 Updated to version 3.2.16 for release 2025-06-01 14:37:23 -07:00
mattbsage 28c71368a1 Clean up INTERFACE_COMPILE_OPTIONS
The extra text causes Meson/Ninja builds to fail as headers are not found.

(cherry picked from commit f62572344f)
2025-05-24 19:13:41 -07:00
Sam Lantinga 7f0a5d6a10 Updated to version 3.2.15 for development 2025-05-14 13:08:44 -07:00
Sam Lantinga c038d6f7f8 Updated to version 3.2.14 for release 2025-05-13 14:24:40 -07:00
Sam Lantinga 50d02ad732 Updated to version 3.2.13 for development 2025-05-04 10:56:10 -07:00
Sam Lantinga 7dd2915475 Updated to version 3.2.12 for release 2025-05-04 10:09:23 -07:00