mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-28 11:57:24 +08:00
JNI_Unload must return the JNI version needed by the native library
This commit is contained in:
committed by
Anonymous Maarten
parent
21f93e127b
commit
eda8d1d842
@@ -184,7 +184,6 @@ Sint32 JNI_OnLoad(JavaVM *vm, void *reserved)
|
|||||||
{
|
{
|
||||||
(void)vm;
|
(void)vm;
|
||||||
(void)reserved;
|
(void)reserved;
|
||||||
SDL_Unsupported();
|
return 0x00010004; // JNI_VERSION_1_4
|
||||||
return -1; // JNI_ERR
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user