mirror of
https://github.com/DrBeef/QuestZDoom.git
synced 2025-04-24 10:08:52 +00:00
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:
parent
95a9b7476f
commit
1dde2efc7b
4 changed files with 2 additions and 5 deletions
|
@ -295,7 +295,7 @@ void * AppThreadFunction(void * parm ) {
|
|||
TBXR_LeaveVR();
|
||||
|
||||
//Ask Java to shut down
|
||||
jni_shutdown();
|
||||
VR_Shutdown();
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include <android/input.h>
|
||||
|
||||
#include "argtable3.h"
|
||||
#include "VrInput.h"
|
||||
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue