mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-02 07:58:30 +00:00
Prevent crashes if freed objects are passed to SDL API functions
Instead of using the magic tag in the object, we'll actually keep track of valid objects Fixes https://github.com/libsdl-org/SDL/issues/9869 Fixes https://github.com/libsdl-org/SDL/issues/9235
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#include "../SDL_sysrender.h"
|
||||
#include "SDL_shaders_gl.h"
|
||||
#include "../../video/SDL_pixels_c.h"
|
||||
#include "../../SDL_utils_c.h"
|
||||
|
||||
#ifdef SDL_PLATFORM_MACOS
|
||||
#include <OpenGL/OpenGL.h>
|
||||
|
Reference in New Issue
Block a user