Commit Graph

93 Commits

Author SHA1 Message Date
maficccc@gmail.com ca9e652f8b Remove dead assignment 2018-04-02 13:30:19 +02:00
maficccc@gmail.com e659336c11 Fix value stored to 'num_channels' is never read 2018-04-02 13:30:19 +02:00
raysan5 3b4a64f2d6 Updated GLFW library to latest version 2018-03-03 15:58:44 +01:00
Ahmad Fatoum 3f48ffb1b6 Fix two memory leaks in jar_xm.h
Found by LeakSanitizer in #494.
2018-02-26 00:14:19 +01:00
Ahmad Fatoum 1430d01906 jar_xm: Workaround for unaligned pointer accesses
jar_xm.h does some shady pointer casts leading to unaligned accesses
and breaking strict aliasing. x86 has special circuitry for doing
unaligned accesses, but on other architectures, it may trap and require
kernel fix-up or crash outright. With this patch, one obstacle in
porting raylib to the GameBoy Advance has been removed. Go for it ;-)

To avoid having to rewrite that `mempool' code, insert padding before
structs and instruct the compiler (GCC, most importantly), to be gentle
when optimizing.

This fixes #490 (Unless we got ourselves 256-bit pointers, if so,
hello future!)
2018-02-24 23:59:56 +01:00
Ray 11612fce27 Reviewed timming system for macOS
Apparently, before macOS Sierra version, clock_gettime was not available, using MATCH timming system instead
2018-02-20 10:30:51 +01:00
Ahmad Fatoum 09b022305f mini_al: Support {Net,Open}BSD OSS
Fixes this build failure:
http://www.cpantesters.org/cpan/report/a069fade-0e1f-11e8-a1cf-bb670eaac09d
2018-02-11 12:20:17 +01:00
Ray f72b315cb6 Updated external libraries 2018-02-09 00:01:00 +01:00
Ahmad Fatoum f955b2255d GLFW: Fix build error on Linux < v2.6.39
Cherry-pick from upstream glfw/glfw#1196
Found in CPANtesters test of Alien::raylib:
http://www.cpantesters.org/cpan/report/d956d128-0339-11e8-b0d1-b6c4abd39192
2018-01-27 14:53:04 +01:00
Ray 8e0a277f7c Reviewed UWP branch integration 2018-01-19 12:02:15 +01:00
Ray 750323da53 Merge branch 'develop' into testing_uwp 2018-01-19 11:41:51 +01:00
Ray San e17a9a8216 Updated mini_al to latest version 2017-12-15 17:01:50 +01:00
user 0e18b14605 added debug-event-markers for opengl so that you're able to set markers for renderdoc or other gpu debuggers what your program is currently doing 2017-12-14 11:44:48 +01:00
Ray a6f9cc5629 Remove rres support
Let the user choose if using rres external library
2017-12-11 11:55:02 +01:00
Ahmad Fatoum de78fa69bc Fix CI builds after mini_al changes 2017-12-10 21:35:38 +01:00
raysan5 5ae2c0d15b Added Wayland support
Updated to latest GLFW library and working on Wayland support, still
looking how to implement it on raylib because it just exposes
PLATFORM_DESKTOP and defaults to X11 windowing system on Linux...
2017-12-09 19:05:42 +01:00
Ray San 3b5a26099e Removed OpenAL Soft dependency on building
OpenAL Soft backend is still available in audio module, I'm thinking if
exposing it for building in some way or just left it there for advance
users to switch to it manually in case of necessity...
2017-12-05 14:01:35 +01:00
Ray San 33eec31575 Updated external libraries dependencies
Added dr_wav for a future use
2017-12-05 13:23:04 +01:00
Ray 9d0ee6c2f6 Merge pull request #413 from mackron/dr/mini_al
mini_al integration
2017-12-05 11:23:16 +01:00
David Reid 104391f82b Update mini_al. 2017-12-05 18:49:00 +10:00
David Reid 82f88e5df9 Potential fixes for Raspberry Pi. 2017-12-03 11:20:02 +10:00
David Reid a0d9913c7c Potential fixes for audio on RPI and Emscripten builds. 2017-11-24 22:13:33 +10:00
Ray San 1be826fb16 Removed useless file 2017-11-22 17:30:09 +01:00
David Reid c71b01c8ac Update mini_al with fixes for OpenSL and SDL backends. 2017-11-21 06:35:38 +10:00
David Reid 14b889be41 Update mini_al with a potential fix for HTML5. 2017-11-20 21:47:07 +10:00
David Reid 3238cba47c Log the name of the playback device. 2017-11-19 19:38:23 +10:00
David Reid 49e945f958 Update mini_al with fixes and improvements for Emscripten. 2017-11-19 12:15:01 +10:00
David Reid 84ef860443 Update mini_al with experimental support for SDL/Emscripten. 2017-11-18 22:30:20 +10:00
David Reid 3be83dac7e Update mini_al. 2017-11-18 11:51:51 +10:00
David Reid b9bb80d004 Add some logging and update mini_al. 2017-11-18 10:27:44 +10:00
Ray San 6d317c7afe Remove glfw3 dependency
Full sources already included and compiled with raylib (rglfw)
2017-11-17 18:43:39 +01:00
Ray San e2e4b8df28 Remove unneeded glfw dependencies
Only required by examples
2017-11-17 18:42:39 +01:00
Ray San a6877c82c6 Added alternative license to rgif.h library
Just in case of legal conflict with public domain software, added MIT
alternative license.
2017-11-17 18:30:19 +01:00
David Reid 261b00e9e8 Update mini_al. 2017-11-17 21:12:05 +10:00
David Reid 96be62e88b Update mini_al.h 2017-11-16 21:49:45 +10:00
David Reid e03afbf2fa Add support for pitch shifting.
This commit should bring the mini_al backend up to feature parity with
the OpenAL backend.
2017-11-15 22:04:23 +10:00
David Reid 88d2810fa3 Bug fixes for Music with mini_al. 2017-11-14 21:15:50 +10:00
David Reid 3a96a66fdf Bring up to date with changes to mini_al. 2017-11-13 21:46:29 +10:00
Ray San 9c65caea8c Added GLFW sources to raylib
Compiling GLFW library with raylib avoids external dependencies, this
way we solve version problems in some platforms
2017-11-13 12:09:41 +01:00
David Reid e52f4282d6 Update comments. 2017-11-12 22:57:31 +10:00
David Reid 75433a670e Initial work on adding support for mini_al. 2017-11-12 14:17:05 +10:00
Ray San b6b58991e6 Working on UWP support
Support Universal Windows Platform (UWP):
- Windows 10 App
- Windows Phone
- Xbox One
2017-11-10 12:37:53 +01:00
Ray San 3c3d56bb4a Renamed data types to standard names 2017-11-03 12:40:46 +01:00
Ray San d302316e51 Reorganize release and dependencies 2017-10-11 11:22:49 +02:00
Ray San 9000fc28a3 Keep working on Android shared libs... 2017-10-04 12:51:53 +02:00
Ray San 1288d6a5df Updated android_native_app_glue 2017-10-02 13:06:34 +02:00
Ray San ea0decece8 Updated OpenAL Soft headers 2017-10-02 13:06:19 +02:00
Ray San 144b0ed695 Renamed gif writting library 2017-10-02 13:06:04 +02:00
Ray fb334e2fd1 Testing shapes generation using additional library 2017-09-02 17:42:22 +02:00
raysan5 2ec8880197 Updated stb libs to latest version 2017-08-04 12:58:39 +02:00