mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 10:27:33 +01:00
graphics_surface: Fix merge conflicts.
This commit is contained in:
parent
ac19e3d061
commit
666d53299c
@ -14,6 +14,7 @@
|
||||
namespace Tegra {
|
||||
|
||||
enum class RenderTargetFormat : u32 {
|
||||
NONE = 0x0,
|
||||
RGBA8_UNORM = 0xD5,
|
||||
};
|
||||
|
||||
|
@ -339,9 +339,9 @@ void GraphicsSurfaceWidget::OnUpdate() {
|
||||
static_cast<size_t>(Source::RenderTarget0)];
|
||||
|
||||
surface_address = rt.Address();
|
||||
surface_width = rt.horiz;
|
||||
surface_height = rt.vert;
|
||||
if (rt.format != 0) {
|
||||
surface_width = rt.width;
|
||||
surface_height = rt.height;
|
||||
if (rt.format != Tegra::RenderTargetFormat::NONE) {
|
||||
surface_format =
|
||||
ConvertToTextureFormat(static_cast<Tegra::RenderTargetFormat>(rt.format));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user