diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-08 08:35:00 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-08-09 01:29:45 +0200 |
commit | ddec200290a4e6a4e4613ccf306a2d68e6e29707 (patch) | |
tree | 8e5b91c3b144a4d5d6eb63ddc3d67888e12223c7 | |
parent | Merge pull request #985 from bunnei/rt-r11g11b10 (diff) | |
download | yuzu-ddec200290a4e6a4e4613ccf306a2d68e6e29707.tar yuzu-ddec200290a4e6a4e4613ccf306a2d68e6e29707.tar.gz yuzu-ddec200290a4e6a4e4613ccf306a2d68e6e29707.tar.bz2 yuzu-ddec200290a4e6a4e4613ccf306a2d68e6e29707.tar.lz yuzu-ddec200290a4e6a4e4613ccf306a2d68e6e29707.tar.xz yuzu-ddec200290a4e6a4e4613ccf306a2d68e6e29707.tar.zst yuzu-ddec200290a4e6a4e4613ccf306a2d68e6e29707.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index b87b87e03..039e9e0ca 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -324,6 +324,11 @@ std::pair<Surface, Surface> RasterizerOpenGL::ConfigureFramebuffers(bool using_c bool using_depth_fb) { const auto& regs = Core::System::GetInstance().GPU().Maxwell3D().regs; + if (regs.rt[0].format == Tegra::RenderTargetFormat::NONE) { + LOG_ERROR(HW_GPU, "RenderTargetFormat is not configured"); + using_color_fb = false; + } + // TODO(bunnei): Implement this const bool has_stencil = false; |