refactor: general cleanup

removed jni_shutdown in VrCommon.h not used in other places, VR_Shutdown should be used instead
This commit is contained in:
Emanuele Disco 2023-05-04 16:36:39 +09:00
parent 95a9b7476f
commit 1dde2efc7b
4 changed files with 2 additions and 5 deletions

View file

@ -295,7 +295,7 @@ void * AppThreadFunction(void * parm ) {
TBXR_LeaveVR();
//Ask Java to shut down
jni_shutdown();
VR_Shutdown();
return NULL;
}

View file

@ -10,7 +10,6 @@
#include <android/input.h>
#include "argtable3.h"
#include "VrInput.h"
#include <EGL/egl.h>
#include <EGL/eglext.h>

View file

@ -312,7 +312,7 @@ void VR_HapticEndFrame();
void VR_HapticStopEvent(const char* event);
void VR_HapticEnable();
void VR_HapticDisable();
extern "C" void VR_Shutdown();
void VR_Shutdown();
//Reusable Team Beef OpenXR stuff (in TBXR_Common.cpp)

View file

@ -71,7 +71,6 @@ extern bool ready_teleport;
extern bool trigger_teleport;
extern bool shutdown;
void shutdownVR();
bool isMultiplayer();
float length(float x, float y);
@ -84,7 +83,6 @@ void QuatToYawPitchRoll(XrQuaternionf q, vec3_t rotation, vec3_t out);
//Called from engine code
void QzDoom_setUseScreenLayer(bool use);
void QzDoom_Restart();
void jni_shutdown();
#endif //vrcommon_h