From 812ff4686b7c1886d2f24df106a193c8001b05f1 Mon Sep 17 00:00:00 2001 From: magumagu Date: Sat, 12 Apr 2014 19:20:31 -0700 Subject: [PATCH] OpenGL backend: remove useless header Globals.h. The header has no content, so it can can just be deleted. --- Source/Core/VideoBackends/OGL/FramebufferManager.cpp | 1 - Source/Core/VideoBackends/OGL/GLUtil.cpp | 1 - Source/Core/VideoBackends/OGL/Globals.h | 10 ---------- Source/Core/VideoBackends/OGL/OGL.vcxproj | 5 ++--- Source/Core/VideoBackends/OGL/OGL.vcxproj.filters | 5 ++--- Source/Core/VideoBackends/OGL/Render.cpp | 1 - Source/Core/VideoBackends/OGL/StreamBuffer.cpp | 1 - Source/Core/VideoBackends/OGL/TextureCache.cpp | 1 - Source/Core/VideoBackends/OGL/TextureConverter.cpp | 1 - Source/Core/VideoBackends/OGL/VertexManager.cpp | 1 - Source/Core/VideoBackends/OGL/main.cpp | 1 - 11 files changed, 4 insertions(+), 24 deletions(-) delete mode 100644 Source/Core/VideoBackends/OGL/Globals.h diff --git a/Source/Core/VideoBackends/OGL/FramebufferManager.cpp b/Source/Core/VideoBackends/OGL/FramebufferManager.cpp index f7557cc1b2..678a9435e6 100644 --- a/Source/Core/VideoBackends/OGL/FramebufferManager.cpp +++ b/Source/Core/VideoBackends/OGL/FramebufferManager.cpp @@ -5,7 +5,6 @@ #include "Core/HW/Memmap.h" #include "VideoBackends/OGL/FramebufferManager.h" -#include "VideoBackends/OGL/Globals.h" #include "VideoBackends/OGL/Render.h" #include "VideoBackends/OGL/TextureConverter.h" diff --git a/Source/Core/VideoBackends/OGL/GLUtil.cpp b/Source/Core/VideoBackends/OGL/GLUtil.cpp index cafc157145..97d4378239 100644 --- a/Source/Core/VideoBackends/OGL/GLUtil.cpp +++ b/Source/Core/VideoBackends/OGL/GLUtil.cpp @@ -8,7 +8,6 @@ #include "Core/ConfigManager.h" #include "Core/Core.h" -#include "VideoBackends/OGL/Globals.h" #include "VideoBackends/OGL/GLUtil.h" #include "VideoBackends/OGL/Render.h" #include "VideoBackends/OGL/VideoBackend.h" diff --git a/Source/Core/VideoBackends/OGL/Globals.h b/Source/Core/VideoBackends/OGL/Globals.h deleted file mode 100644 index d1f9012716..0000000000 --- a/Source/Core/VideoBackends/OGL/Globals.h +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2013 Dolphin Emulator Project -// Licensed under GPLv2 -// Refer to the license.txt file included. - -#pragma once - -#include "Common/Common.h" - -#include "VideoCommon/VideoCommon.h" -#include "VideoCommon/VideoConfig.h" diff --git a/Source/Core/VideoBackends/OGL/OGL.vcxproj b/Source/Core/VideoBackends/OGL/OGL.vcxproj index 48980e6f80..ce1203fd42 100644 --- a/Source/Core/VideoBackends/OGL/OGL.vcxproj +++ b/Source/Core/VideoBackends/OGL/OGL.vcxproj @@ -1,4 +1,4 @@ - + @@ -92,7 +92,6 @@ - @@ -125,4 +124,4 @@ - + \ No newline at end of file diff --git a/Source/Core/VideoBackends/OGL/OGL.vcxproj.filters b/Source/Core/VideoBackends/OGL/OGL.vcxproj.filters index ef77a32d9d..1fe66071f9 100644 --- a/Source/Core/VideoBackends/OGL/OGL.vcxproj.filters +++ b/Source/Core/VideoBackends/OGL/OGL.vcxproj.filters @@ -1,4 +1,4 @@ - + @@ -95,7 +95,6 @@ Render - @@ -188,4 +187,4 @@ - + \ No newline at end of file diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp index 4ad70be08a..2b7a081fb3 100644 --- a/Source/Core/VideoBackends/OGL/Render.cpp +++ b/Source/Core/VideoBackends/OGL/Render.cpp @@ -20,7 +20,6 @@ #include "Core/Movie.h" #include "VideoBackends/OGL/FramebufferManager.h" -#include "VideoBackends/OGL/Globals.h" #include "VideoBackends/OGL/GLUtil.h" #include "VideoBackends/OGL/main.h" #include "VideoBackends/OGL/PostProcessing.h" diff --git a/Source/Core/VideoBackends/OGL/StreamBuffer.cpp b/Source/Core/VideoBackends/OGL/StreamBuffer.cpp index b3a663ef82..f2448ffbf0 100644 --- a/Source/Core/VideoBackends/OGL/StreamBuffer.cpp +++ b/Source/Core/VideoBackends/OGL/StreamBuffer.cpp @@ -4,7 +4,6 @@ #include "Common/MemoryUtil.h" -#include "VideoBackends/OGL/Globals.h" #include "VideoBackends/OGL/GLUtil.h" #include "VideoBackends/OGL/Render.h" #include "VideoBackends/OGL/StreamBuffer.h" diff --git a/Source/Core/VideoBackends/OGL/TextureCache.cpp b/Source/Core/VideoBackends/OGL/TextureCache.cpp index 3757bc45f9..198ffda169 100644 --- a/Source/Core/VideoBackends/OGL/TextureCache.cpp +++ b/Source/Core/VideoBackends/OGL/TextureCache.cpp @@ -27,7 +27,6 @@ #include "Core/HW/Memmap.h" #include "VideoBackends/OGL/FramebufferManager.h" -#include "VideoBackends/OGL/Globals.h" #include "VideoBackends/OGL/ProgramShaderCache.h" #include "VideoBackends/OGL/Render.h" #include "VideoBackends/OGL/TextureCache.h" diff --git a/Source/Core/VideoBackends/OGL/TextureConverter.cpp b/Source/Core/VideoBackends/OGL/TextureConverter.cpp index b27746ce22..02b79f3f5a 100644 --- a/Source/Core/VideoBackends/OGL/TextureConverter.cpp +++ b/Source/Core/VideoBackends/OGL/TextureConverter.cpp @@ -9,7 +9,6 @@ #include "Core/HW/Memmap.h" #include "VideoBackends/OGL/FramebufferManager.h" -#include "VideoBackends/OGL/Globals.h" #include "VideoBackends/OGL/ProgramShaderCache.h" #include "VideoBackends/OGL/Render.h" #include "VideoBackends/OGL/TextureCache.h" diff --git a/Source/Core/VideoBackends/OGL/VertexManager.cpp b/Source/Core/VideoBackends/OGL/VertexManager.cpp index b8bc676169..e67630e128 100644 --- a/Source/Core/VideoBackends/OGL/VertexManager.cpp +++ b/Source/Core/VideoBackends/OGL/VertexManager.cpp @@ -8,7 +8,6 @@ #include "Common/FileUtil.h" #include "Common/MemoryUtil.h" -#include "VideoBackends/OGL/Globals.h" #include "VideoBackends/OGL/main.h" #include "VideoBackends/OGL/ProgramShaderCache.h" #include "VideoBackends/OGL/Render.h" diff --git a/Source/Core/VideoBackends/OGL/main.cpp b/Source/Core/VideoBackends/OGL/main.cpp index accae374b6..201bf1de7b 100644 --- a/Source/Core/VideoBackends/OGL/main.cpp +++ b/Source/Core/VideoBackends/OGL/main.cpp @@ -49,7 +49,6 @@ Make AA apply instantly during gameplay if possible #include "Core/Host.h" #include "VideoBackends/OGL/FramebufferManager.h" -#include "VideoBackends/OGL/Globals.h" #include "VideoBackends/OGL/GLUtil.h" #include "VideoBackends/OGL/PerfQuery.h" #include "VideoBackends/OGL/PostProcessing.h"