diff --git a/subprojects/sdl2.wrap b/subprojects/sdl2.wrap new file mode 100644 index 000000000..39031b2de --- /dev/null +++ b/subprojects/sdl2.wrap @@ -0,0 +1,15 @@ +[wrap-file] +directory = SDL2-2.32.8 +source_url = https://github.com/libsdl-org/SDL/releases/download/release-2.32.8/SDL2-2.32.8.tar.gz +source_filename = SDL2-2.32.8.tar.gz +source_hash = 0ca83e9c9b31e18288c7ec811108e58bac1f1bb5ec6577ad386830eac51c787e +patch_filename = sdl2_2.32.8-1_patch.zip +patch_url = https://wrapdb.mesonbuild.com/v2/sdl2_2.32.8-1/get_patch +patch_hash = 5df17ea39ca418826db20e96bd821fa52b5718dac64b6225119fb6588c2744f0 +source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/sdl2_2.32.8-1/SDL2-2.32.8.tar.gz +wrapdb_version = 2.32.8-1 + +[provide] +sdl2 = sdl2_dep +sdl2main = sdl2main_dep +sdl2_test = sdl2_test_dep diff --git a/targets/platform/renderer/gl/GLRenderer.h b/targets/platform/renderer/gl/GLRenderer.h index 0ef3e4151..ab32e75b7 100644 --- a/targets/platform/renderer/gl/GLRenderer.h +++ b/targets/platform/renderer/gl/GLRenderer.h @@ -3,7 +3,6 @@ #include "gl3_loader.h" // NOTE: gl3_loader.h must be included before these two #include -#include #include diff --git a/targets/platform/renderer/gl/gl_compat.h b/targets/platform/renderer/gl/gl_compat.h index 274fb8342..ed9b6f06d 100644 --- a/targets/platform/renderer/gl/gl_compat.h +++ b/targets/platform/renderer/gl/gl_compat.h @@ -17,7 +17,6 @@ #include "gl3_loader.h" // NOTE: gl3_loader.h must be included before these two #include -#include #include #include diff --git a/targets/platform/stubs.h b/targets/platform/stubs.h index 65bc7ccfa..b99db20a1 100644 --- a/targets/platform/stubs.h +++ b/targets/platform/stubs.h @@ -1,7 +1,6 @@ #pragma once #include -#include #include #include "java/File.h"