From dcd7364559e20e7d89ffeee0740b60a65c8d5362 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Dec 2015 16:32:22 +0300 Subject: Move OpenGL functions related files into opengl directory. --- src/resources/mobileopenglscreenshothelper.cpp | 4 ++-- src/resources/openglimagehelper.cpp | 7 ++++--- src/resources/openglscreenshothelper.cpp | 4 ++-- src/resources/safeopenglimagehelper.cpp | 5 +++-- 4 files changed, 11 insertions(+), 9 deletions(-) (limited to 'src/resources') diff --git a/src/resources/mobileopenglscreenshothelper.cpp b/src/resources/mobileopenglscreenshothelper.cpp index 50dbcbc64..7efb0f3b9 100644 --- a/src/resources/mobileopenglscreenshothelper.cpp +++ b/src/resources/mobileopenglscreenshothelper.cpp @@ -27,10 +27,10 @@ #include "configuration.h" #include "graphicsmanager.h" -#include "render/mgl.h" #ifdef __native_client__ -#include "render/naclglfunctions.h" +#include "render/opengl/naclglfunctions.h" #endif +#include "render/opengl/mgl.h" #include "debug.h" diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp index 0010d88b6..8cdf6beec 100644 --- a/src/resources/openglimagehelper.cpp +++ b/src/resources/openglimagehelper.cpp @@ -27,17 +27,18 @@ #include "graphicsmanager.h" #include "logger.h" -#include "render/mgl.h" -#include "render/mglcheck.h" #include "render/mobileopengl2graphics.h" #include "render/mobileopenglgraphics.h" #include "render/modernopenglgraphics.h" #ifdef __native_client__ -#include "render/naclglfunctions.h" +#include "render/opengl/naclglfunctions.h" #endif #include "render/normalopenglgraphics.h" #include "render/safeopenglgraphics.h" +#include "render/opengl/mgl.h" +#include "render/opengl/mglcheck.h" + #include "resources/dye.h" #include "resources/dyepalette.h" #include "resources/image.h" diff --git a/src/resources/openglscreenshothelper.cpp b/src/resources/openglscreenshothelper.cpp index 9d0edd80e..648ec6942 100644 --- a/src/resources/openglscreenshothelper.cpp +++ b/src/resources/openglscreenshothelper.cpp @@ -27,10 +27,10 @@ #include "configuration.h" #include "graphicsmanager.h" -#include "render/mgl.h" #ifdef __native_client__ -#include "render/naclglfunctions.h" +#include "render/opengl/naclglfunctions.h" #endif +#include "render/opengl/mgl.h" #include "debug.h" diff --git a/src/resources/safeopenglimagehelper.cpp b/src/resources/safeopenglimagehelper.cpp index 44c8ca124..da6b750dd 100644 --- a/src/resources/safeopenglimagehelper.cpp +++ b/src/resources/safeopenglimagehelper.cpp @@ -27,14 +27,15 @@ #include "graphicsmanager.h" #include "logger.h" -#include "render/mgl.h" -#include "render/mglcheck.h" #include "render/mobileopengl2graphics.h" #include "render/mobileopenglgraphics.h" #include "render/modernopenglgraphics.h" #include "render/normalopenglgraphics.h" #include "render/safeopenglgraphics.h" +#include "render/opengl/mgl.h" +#include "render/opengl/mglcheck.h" + #include "resources/dye.h" #include "resources/dyepalette.h" #include "resources/image.h" -- cgit v1.2.3-60-g2f50