summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-10 00:42:02 +0200
committerLioncash <mathew1800@gmail.com>2019-05-10 00:42:48 +0200
commit6d28d288a31ad31324615c9f9bb1b0d151d37cd7 (patch)
tree5a496da9dc9b3b7594293dc7e4a9c1f37a4cf97b
parentvideo_core/gpu_thread: Remove unused local variable (diff)
downloadyuzu-6d28d288a31ad31324615c9f9bb1b0d151d37cd7.tar
yuzu-6d28d288a31ad31324615c9f9bb1b0d151d37cd7.tar.gz
yuzu-6d28d288a31ad31324615c9f9bb1b0d151d37cd7.tar.bz2
yuzu-6d28d288a31ad31324615c9f9bb1b0d151d37cd7.tar.lz
yuzu-6d28d288a31ad31324615c9f9bb1b0d151d37cd7.tar.xz
yuzu-6d28d288a31ad31324615c9f9bb1b0d151d37cd7.tar.zst
yuzu-6d28d288a31ad31324615c9f9bb1b0d151d37cd7.zip
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
index 5a25f5b37..bdb822c20 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
@@ -801,7 +801,6 @@ void CachedSurface::UploadGLMipmapTexture(u32 mip_map, GLuint read_fb_handle,
tuple.type, &gl_buffer[mip_map][buffer_offset]);
break;
case SurfaceTarget::TextureCubemap: {
- std::size_t start = buffer_offset;
for (std::size_t face = 0; face < params.depth; ++face) {
glTextureSubImage3D(texture.handle, mip_map, x0, y0, static_cast<GLint>(face),
static_cast<GLsizei>(rect.GetWidth()),