1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-04 17:04:49 +00:00

Remove our ERR_ON_RENDER_THREAD guard, it is not reliable

This commit is contained in:
Bastiaan Olij
2024-07-09 18:48:00 +10:00
parent 82cedc83c9
commit bf8c85e13b
2 changed files with 0 additions and 11 deletions

View File

@@ -454,7 +454,6 @@ public:
_FORCE_INLINE_ XrTime get_predicted_display_time() { return frame_state.predictedDisplayTime; }
_FORCE_INLINE_ XrTime get_next_frame_time() { return frame_state.predictedDisplayTime + frame_state.predictedDisplayPeriod; }
_FORCE_INLINE_ bool can_render() {
ERR_ON_RENDER_THREAD_V(false);
return instance != XR_NULL_HANDLE && session != XR_NULL_HANDLE && running && frame_state.shouldRender;
}