diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-18 06:04:18 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-18 06:04:18 +0200 |
commit | 73b2dc6d4f4fa5fbb70af45dc5d3c58b60750066 (patch) | |
tree | 6114d9616cb24d58889bcf90209379be72a69d26 /src | |
parent | Merge pull request #2740 from lioncash/bra (diff) | |
download | yuzu-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')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.cpp | 1 |
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, |