From 5203c4ef7bd9e74ac714e664b1b278714b0720c2 Mon Sep 17 00:00:00 2001 From: Rohit Nirmal Date: Wed, 28 Jan 2015 18:09:07 +0000 Subject: [PATCH] Silence -Wunused-variable warning. --- Source/Core/VideoBackends/OGL/TextureConverter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Core/VideoBackends/OGL/TextureConverter.cpp b/Source/Core/VideoBackends/OGL/TextureConverter.cpp index cc9f348743..1e013a4d39 100644 --- a/Source/Core/VideoBackends/OGL/TextureConverter.cpp +++ b/Source/Core/VideoBackends/OGL/TextureConverter.cpp @@ -308,7 +308,6 @@ int EncodeToRamFromTexture(u32 address,GLuint source_texture, bool bFromZBuffer, u16 blkW = TexDecoder_GetBlockWidthInTexels(format) - 1; u16 blkH = TexDecoder_GetBlockHeightInTexels(format) - 1; - u16 samples = TextureConversionShader::GetEncodedSampleCount(format); // only copy on cache line boundaries // extra pixels are copied but not displayed in the resulting texture