From 2f94977efe09ac200f21f6cb822798dadd9abfa2 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 29 Jul 2013 22:38:02 -0700 Subject: [PATCH] Don't include gfx/gl* outside the OpenGL GE. --- Core/Util/PPGeDraw.cpp | 2 -- GPU/GLES/Framebuffer.h | 1 + GPU/GLES/TransformPipeline.h | 1 + GPU/GPUState.h | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Core/Util/PPGeDraw.cpp b/Core/Util/PPGeDraw.cpp index 401cbd9af8..5830e1d0ca 100644 --- a/Core/Util/PPGeDraw.cpp +++ b/Core/Util/PPGeDraw.cpp @@ -24,8 +24,6 @@ #include "Core/HLE/sceGe.h" #include "Core/MemMap.h" #include "image/zim_load.h" -#include "gfx/texture_atlas.h" -#include "gfx/gl_common.h" #include "util/text/utf8.h" #include "MathUtil.h" #include "Core/System.h" diff --git a/GPU/GLES/Framebuffer.h b/GPU/GLES/Framebuffer.h index d11bd84718..870ee0082e 100644 --- a/GPU/GLES/Framebuffer.h +++ b/GPU/GLES/Framebuffer.h @@ -19,6 +19,7 @@ #include +#include "gfx/gl_common.h" #include "gfx_es2/fbo.h" // Keeps track of allocated FBOs. // Also provides facilities for drawing and later converting raw diff --git a/GPU/GLES/TransformPipeline.h b/GPU/GLES/TransformPipeline.h index 93cb5d3da0..226a3a9fe6 100644 --- a/GPU/GLES/TransformPipeline.h +++ b/GPU/GLES/TransformPipeline.h @@ -21,6 +21,7 @@ #include "IndexGenerator.h" #include "VertexDecoder.h" +#include "gfx/gl_common.h" #include "gfx/gl_lost_manager.h" class LinkedShader; diff --git a/GPU/GPUState.h b/GPU/GPUState.h index 9ec6db998c..a09d5d6694 100644 --- a/GPU/GPUState.h +++ b/GPU/GPUState.h @@ -18,7 +18,6 @@ #pragma once #include "../Globals.h" -#include "gfx/gl_common.h" #include "ge_constants.h" struct GPUgstate