summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-11-18 01:20:18 +0100
committerGitHub <noreply@github.com>2022-11-18 01:20:18 +0100
commite5a446a0df56d447e94c9afa98d52ff576a1aa66 (patch)
treec0770bffcff6edb00c8ab503a719d3b7ab8a037e /src/video_core/renderer_opengl
parentMerge pull request #9228 from HidroSaphire/patch-1 (diff)
parentAdd break for default cases (diff)
downloadyuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.gz
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.bz2
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.lz
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.xz
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.zst
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.cpp2
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp
index 99cd11d1e..9f7ce7414 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp
@@ -891,6 +891,7 @@ void Image::CopyBufferToImage(const VideoCommon::BufferImageCopy& copy, size_t b
break;
default:
ASSERT(false);
+ break;
}
}
@@ -927,6 +928,7 @@ void Image::CopyImageToBuffer(const VideoCommon::BufferImageCopy& copy, size_t b
break;
default:
ASSERT(false);
+ break;
}
// Compressed formats don't have a pixel format or type
const bool is_compressed = gl_format == GL_NONE;
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index 8bd5eba7e..f29462f7c 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -340,6 +340,7 @@ void RendererOpenGL::ConfigureFramebufferTexture(TextureInfo& texture,
texture.gl_type = GL_UNSIGNED_INT_8_8_8_8_REV;
// UNIMPLEMENTED_MSG("Unknown framebuffer pixel format: {}",
// static_cast<u32>(framebuffer.pixel_format));
+ break;
}
texture.resource.Release();