mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 08:57:57 -05:00
GPU: Make the debug_context variable a member of the frontend instead of a global.
This commit is contained in:
@ -341,7 +341,10 @@ void GraphicsSurfaceWidget::OnUpdate() {
|
||||
surface_address = rt.Address();
|
||||
surface_width = rt.horiz;
|
||||
surface_height = rt.vert;
|
||||
surface_format = ConvertToTextureFormat(static_cast<Tegra::RenderTargetFormat>(rt.format));
|
||||
if (rt.format != 0) {
|
||||
surface_format =
|
||||
ConvertToTextureFormat(static_cast<Tegra::RenderTargetFormat>(rt.format));
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user