You've already forked godot
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user