summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-07-18 06:04:18 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-07-18 06:04:18 +0200
commit73b2dc6d4f4fa5fbb70af45dc5d3c58b60750066 (patch)
tree6114d9616cb24d58889bcf90209379be72a69d26 /src/video_core
parentMerge pull request #2740 from lioncash/bra (diff)
downloadyuzu-73b2dc6d4f4fa5fbb70af45dc5d3c58b60750066.tar
yuzu-73b2dc6d4f4fa5fbb70af45dc5d3c58b60750066.tar.gz
yuzu-73b2dc6d4f4fa5fbb70af45dc5d3c58b60750066.tar.bz2
yuzu-73b2dc6d4f4fa5fbb70af45dc5d3c58b60750066.tar.lz
yuzu-73b2dc6d4f4fa5fbb70af45dc5d3c58b60750066.tar.xz
yuzu-73b2dc6d4f4fa5fbb70af45dc5d3c58b60750066.tar.zst
yuzu-73b2dc6d4f4fa5fbb70af45dc5d3c58b60750066.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.cpp1
1 files changed, 1 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 b1f6bc7c2..4a7f8ae3a 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp
@@ -209,6 +209,7 @@ OGLTexture CreateTexture(const SurfaceParams& params, GLenum target, GLenum inte
glNamedBufferStorage(texture_buffer.handle, params.width * params.GetBytesPerPixel(),
nullptr, GL_DYNAMIC_STORAGE_BIT);
glTextureBuffer(texture.handle, internal_format, texture_buffer.handle);
+ break;
case SurfaceTarget::Texture2D:
case SurfaceTarget::TextureCubemap:
glTextureStorage2D(texture.handle, params.emulated_levels, internal_format, params.width,