summaryrefslogtreecommitdiff
path: root/Source/Core/Common/GL/GLInterface
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2021-12-12 15:14:28 +0100
committerGitHub <noreply@github.com>2021-12-12 15:14:28 +0100
commitf4e2d369c075f44f037289a1ccb78274c7d5cb39 (patch)
tree9b89dd27ea346edb18349c7e68b3f498c178d64f /Source/Core/Common/GL/GLInterface
parentbfddce425dfb4767aefe00c9e4b49126a50d62b6 (diff)
parent20257634209dba85d2cd51ad42e660090a5224e6 (diff)
Merge pull request #10270 from Pokechu22/header-order
Treewide: Adjust order of includes
Diffstat (limited to 'Source/Core/Common/GL/GLInterface')
-rw-r--r--Source/Core/Common/GL/GLInterface/EGL.cpp3
-rw-r--r--Source/Core/Common/GL/GLInterface/EGLAndroid.cpp1
-rw-r--r--Source/Core/Common/GL/GLInterface/GLX.cpp3
-rw-r--r--Source/Core/Common/GL/GLInterface/WGL.cpp3
4 files changed, 7 insertions, 3 deletions
diff --git a/Source/Core/Common/GL/GLInterface/EGL.cpp b/Source/Core/Common/GL/GLInterface/EGL.cpp
index 090a6cf101..30230e7d08 100644
--- a/Source/Core/Common/GL/GLInterface/EGL.cpp
+++ b/Source/Core/Common/GL/GLInterface/EGL.cpp
@@ -1,12 +1,13 @@
// Copyright 2012 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include "Common/GL/GLInterface/EGL.h"
+
#include <array>
#include <cstdlib>
#include <sstream>
#include <vector>
-#include "Common/GL/GLInterface/EGL.h"
#include "Common/Logging/Log.h"
#ifndef EGL_KHR_create_context
diff --git a/Source/Core/Common/GL/GLInterface/EGLAndroid.cpp b/Source/Core/Common/GL/GLInterface/EGLAndroid.cpp
index abe8bc3bc6..873387f7e9 100644
--- a/Source/Core/Common/GL/GLInterface/EGLAndroid.cpp
+++ b/Source/Core/Common/GL/GLInterface/EGLAndroid.cpp
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/GL/GLInterface/EGLAndroid.h"
+
#include <android/native_window.h>
EGLDisplay GLContextEGLAndroid::OpenEGLDisplay()
diff --git a/Source/Core/Common/GL/GLInterface/GLX.cpp b/Source/Core/Common/GL/GLInterface/GLX.cpp
index 51544249f9..930994a992 100644
--- a/Source/Core/Common/GL/GLInterface/GLX.cpp
+++ b/Source/Core/Common/GL/GLInterface/GLX.cpp
@@ -1,10 +1,11 @@
// Copyright 2012 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include "Common/GL/GLInterface/GLX.h"
+
#include <array>
#include <sstream>
-#include "Common/GL/GLInterface/GLX.h"
#include "Common/Logging/Log.h"
#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091
diff --git a/Source/Core/Common/GL/GLInterface/WGL.cpp b/Source/Core/Common/GL/GLInterface/WGL.cpp
index d0d343be01..286859daf6 100644
--- a/Source/Core/Common/GL/GLInterface/WGL.cpp
+++ b/Source/Core/Common/GL/GLInterface/WGL.cpp
@@ -1,11 +1,12 @@
// Copyright 2012 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include "Common/GL/GLInterface/WGL.h"
+
#include <windows.h>
#include <array>
#include <string>
-#include "Common/GL/GLInterface/WGL.h"
#include "Common/Logging/Log.h"
#include "Common/MsgHandler.h"