mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
remove source code support for SDL2
This commit is contained in:
@@ -27,11 +27,7 @@
|
||||
#include <set>
|
||||
#include <unordered_map>
|
||||
|
||||
#if __has_include(<SDL3/SDL.h>)
|
||||
#include <SDL3/SDL.h>
|
||||
#else
|
||||
#include <SDL.h>
|
||||
#endif
|
||||
|
||||
#include <jni.h>
|
||||
#include <android/asset_manager.h>
|
||||
@@ -44,14 +40,6 @@
|
||||
#include "libraries/physfs/physfs.h"
|
||||
#include "filesystem/physfs/PhysfsIo.h"
|
||||
|
||||
// Backward compatibility
|
||||
#if !SDL_VERSION_ATLEAST(3, 0, 0)
|
||||
#define SDL_GetAndroidJNIEnv SDL_AndroidGetJNIEnv
|
||||
#define SDL_GetAndroidActivity SDL_AndroidGetActivity
|
||||
#define SDL_GetAndroidInternalStoragePath SDL_AndroidGetInternalStoragePath
|
||||
#define SDL_GetAndroidExternalStoragePath SDL_AndroidGetExternalStoragePath
|
||||
#endif
|
||||
|
||||
namespace love
|
||||
{
|
||||
namespace android
|
||||
|
||||
Reference in New Issue
Block a user