From 700742c30c05ac308699dd821b75f9e1bd68cf8a Mon Sep 17 00:00:00 2001 From: death2droid Date: Fri, 15 May 2009 12:41:56 +0000 Subject: [PATCH] Small little change and clean up. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3242 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp b/Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp index 0f9aa7c5c6..552cdaa411 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp @@ -463,8 +463,7 @@ TextureMngr::TCacheEntry* TextureMngr::Load(int texstage, u32 address, int width char szTemp[MAX_PATH]; char szDir[MAX_PATH]; - static bool bCheckedDir; - int check; + bool bCheckedDir = false; sprintf(szDir,"%s/%s",FULL_DUMP_TEXTURES_DIR,((struct SConfig *)globals->config)->m_LocalCoreStartupParameter.m_strName.c_str());