Get rid of a lot of ifdefs around presentation mode. Instead, set things dynamically.

This commit is contained in:
Henrik Rydgård
2023-08-14 11:02:29 +02:00
parent 870c45edd7
commit ff6e118fff
44 changed files with 220 additions and 139 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ bool AndroidJavaEGLGraphicsContext::InitFromRenderThread(ANativeWindow *wnd, int
g_display.rotation = DisplayRotation::ROTATE_0;
g_display.rot_matrix.setIdentity();
draw_ = Draw::T3DCreateGLContext(); // Can't fail
draw_ = Draw::T3DCreateGLContext(false); // Can't fail
renderManager_ = (GLRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
renderManager_->SetInflightFrames(g_Config.iInflightFrames);