godot/drivers
Hein-Pieter van Braam cacced7e50 Convert Object::cast_to() to the static version
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.

This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.

It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
..
alsa Add closest_power_of_2 func and implement mix_rate/latency on OS X 2017-08-17 19:51:13 -03:00
convex_decomp Move other lone thirdparty files to thirdparty/misc 2017-04-28 21:19:25 +02:00
gl_context Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
gles2 Removed unnecessary assignments 2017-08-21 15:15:55 -04:00
gles3 fix ssao issue with intel hd**** hardwares 2017-08-23 00:10:37 +02:00
png Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
pulseaudio Add closest_power_of_2 func and implement mix_rate/latency on OS X 2017-08-17 19:51:13 -03:00
rtaudio Add closest_power_of_2 func and implement mix_rate/latency on OS X 2017-08-17 19:51:13 -03:00
unix Revert "Reworked change_dir to support symlinks" 2017-08-21 18:06:01 -03:00
windows Synchronize parameter names in definition and declaration 2017-08-16 17:22:23 +02:00
xaudio2 Add closest_power_of_2 func and implement mix_rate/latency on OS X 2017-08-17 19:51:13 -03:00
zlib style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
register_driver_types.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
register_driver_types.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
SCsub Merge remote-tracking branch 'origin/gles3' into gles3-on-master 2017-01-02 21:52:26 +01:00