summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-01-30 06:38:28 +0100
committerGitHub <noreply@github.com>2017-01-30 06:38:28 +0100
commit98c71c6a0d291c6f5a070d4f0829d26ebb630e6f (patch)
treef6240614de624eea9b7b95bde81eeabeb9c0f2f4
parentMerge pull request #2494 from Kloen/killing-warnings-2-final-mix (diff)
parentvideo_core: gl_rasterizer_cache.cpp removed unused type alias (diff)
downloadyuzu-98c71c6a0d291c6f5a070d4f0829d26ebb630e6f.tar
yuzu-98c71c6a0d291c6f5a070d4f0829d26ebb630e6f.tar.gz
yuzu-98c71c6a0d291c6f5a070d4f0829d26ebb630e6f.tar.bz2
yuzu-98c71c6a0d291c6f5a070d4f0829d26ebb630e6f.tar.lz
yuzu-98c71c6a0d291c6f5a070d4f0829d26ebb630e6f.tar.xz
yuzu-98c71c6a0d291c6f5a070d4f0829d26ebb630e6f.tar.zst
yuzu-98c71c6a0d291c6f5a070d4f0829d26ebb630e6f.zip
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp2
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.cpp1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 2d2f4edc1..f3674e965 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -716,8 +716,6 @@ void RasterizerOpenGL::FlushAndInvalidateRegion(PAddr addr, u32 size) {
bool RasterizerOpenGL::AccelerateDisplayTransfer(const GPU::Regs::DisplayTransferConfig& config) {
MICROPROFILE_SCOPE(OpenGL_Blits);
- using PixelFormat = CachedSurface::PixelFormat;
- using SurfaceType = CachedSurface::SurfaceType;
CachedSurface src_params;
src_params.addr = config.GetPhysicalInputAddress();
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
index ef3b06a7b..1e7eedecb 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
@@ -172,7 +172,6 @@ bool RasterizerCacheOpenGL::TryBlitSurfaces(CachedSurface* src_surface,
const MathUtil::Rectangle<int>& src_rect,
CachedSurface* dst_surface,
const MathUtil::Rectangle<int>& dst_rect) {
- using SurfaceType = CachedSurface::SurfaceType;
if (!CachedSurface::CheckFormatsBlittable(src_surface->pixel_format,
dst_surface->pixel_format)) {