diff options
| author | 2018-03-25 17:57:53 -0400 | |
|---|---|---|
| committer | 2018-03-26 21:17:03 -0400 | |
| commit | 666d53299c9cc61d88c0a4ed32cebd7cbbb5b712 (patch) | |
| tree | 7de593df28f84a2c97e1b79a067ae3ac98a224f2 /src | |
| parent | gl_rasterizer: Use ReadBlock instead of GetPointer for SetupVertexArray. (diff) | |
| download | yuzu-666d53299c9cc61d88c0a4ed32cebd7cbbb5b712.tar.gz yuzu-666d53299c9cc61d88c0a4ed32cebd7cbbb5b712.tar.xz yuzu-666d53299c9cc61d88c0a4ed32cebd7cbbb5b712.zip | |
graphics_surface: Fix merge conflicts.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/gpu.h | 1 | ||||
| -rw-r--r-- | src/yuzu/debugger/graphics/graphics_surface.cpp | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index ab24504a6..71a8661b4 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | namespace Tegra { | 14 | namespace Tegra { |
| 15 | 15 | ||
| 16 | enum class RenderTargetFormat : u32 { | 16 | enum class RenderTargetFormat : u32 { |
| 17 | NONE = 0x0, | ||
| 17 | RGBA8_UNORM = 0xD5, | 18 | RGBA8_UNORM = 0xD5, |
| 18 | }; | 19 | }; |
| 19 | 20 | ||
diff --git a/src/yuzu/debugger/graphics/graphics_surface.cpp b/src/yuzu/debugger/graphics/graphics_surface.cpp index 8e6509adc..7ea08c23f 100644 --- a/src/yuzu/debugger/graphics/graphics_surface.cpp +++ b/src/yuzu/debugger/graphics/graphics_surface.cpp | |||
| @@ -339,9 +339,9 @@ void GraphicsSurfaceWidget::OnUpdate() { | |||
| 339 | static_cast<size_t>(Source::RenderTarget0)]; | 339 | static_cast<size_t>(Source::RenderTarget0)]; |
| 340 | 340 | ||
| 341 | surface_address = rt.Address(); | 341 | surface_address = rt.Address(); |
| 342 | surface_width = rt.horiz; | 342 | surface_width = rt.width; |
| 343 | surface_height = rt.vert; | 343 | surface_height = rt.height; |
| 344 | if (rt.format != 0) { | 344 | if (rt.format != Tegra::RenderTargetFormat::NONE) { |
| 345 | surface_format = | 345 | surface_format = |
| 346 | ConvertToTextureFormat(static_cast<Tegra::RenderTargetFormat>(rt.format)); | 346 | ConvertToTextureFormat(static_cast<Tegra::RenderTargetFormat>(rt.format)); |
| 347 | } | 347 | } |