mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-09 01:14:24 +02:00
JNI_Unload must return the JNI version needed by the native library
(cherry picked from commit eda8d1d842)
This commit is contained in:
@@ -207,7 +207,6 @@ Sint32 JNI_OnLoad(void *vm, void *reserved)
|
||||
{
|
||||
(void)vm;
|
||||
(void)reserved;
|
||||
SDL_Unsupported();
|
||||
return -1; // JNI_ERR
|
||||
return 0x00010004; // JNI_VERSION_1_4
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user