From 3510e38ae53b0de7d94aec4673a3c936e799d6d1 Mon Sep 17 00:00:00 2001
From: Gary Talent <gary@drinkingtea.net>
Date: Fri, 3 Mar 2023 01:13:38 -0600
Subject: [PATCH] [nostalgia/core] Rename userland to opengl

---
 src/nostalgia/core/CMakeLists.txt                      | 4 ++--
 src/nostalgia/core/glfw/core.cpp                       | 2 +-
 src/nostalgia/core/glfw/gfx.cpp                        | 2 +-
 src/nostalgia/core/{userland => opengl}/gfx.cpp        | 0
 src/nostalgia/core/{userland => opengl}/gfx.hpp        | 0
 src/nostalgia/core/{userland => opengl}/gfx_opengl.cpp | 0
 6 files changed, 4 insertions(+), 4 deletions(-)
 rename src/nostalgia/core/{userland => opengl}/gfx.cpp (100%)
 rename src/nostalgia/core/{userland => opengl}/gfx.hpp (100%)
 rename src/nostalgia/core/{userland => opengl}/gfx_opengl.cpp (100%)

diff --git a/src/nostalgia/core/CMakeLists.txt b/src/nostalgia/core/CMakeLists.txt
index e2ca53b1..3bbbdd4e 100644
--- a/src/nostalgia/core/CMakeLists.txt
+++ b/src/nostalgia/core/CMakeLists.txt
@@ -21,8 +21,8 @@ if(NOT NOSTALGIA_BUILD_TYPE STREQUAL "GBA")
 			glfw/clipboard.cpp
 			glfw/core.cpp
 			glfw/gfx.cpp
-			userland/gfx.cpp
-			userland/gfx_opengl.cpp
+			opengl/gfx.cpp
+			opengl/gfx_opengl.cpp
 	)
 	target_link_libraries(
 		NostalgiaCore PUBLIC
diff --git a/src/nostalgia/core/glfw/core.cpp b/src/nostalgia/core/glfw/core.cpp
index 1f8bf401..c05de4c9 100644
--- a/src/nostalgia/core/glfw/core.cpp
+++ b/src/nostalgia/core/glfw/core.cpp
@@ -8,7 +8,7 @@
 #include <nostalgia/foundation/foundation.hpp>
 #include <nostalgia/core/gfx.hpp>
 #include <nostalgia/core/input.hpp>
-#include <nostalgia/core/userland/gfx.hpp>
+#include <nostalgia/core/opengl/gfx.hpp>
 
 #include "core.hpp"
 
diff --git a/src/nostalgia/core/glfw/gfx.cpp b/src/nostalgia/core/glfw/gfx.cpp
index 37787741..a8628674 100644
--- a/src/nostalgia/core/glfw/gfx.cpp
+++ b/src/nostalgia/core/glfw/gfx.cpp
@@ -9,7 +9,7 @@
 #include <ox/std/defines.hpp>
 
 #include <nostalgia/core/config.hpp>
-#include <nostalgia/core/userland/gfx.hpp>
+#include <nostalgia/core/opengl/gfx.hpp>
 
 #include "core.hpp"
 
diff --git a/src/nostalgia/core/userland/gfx.cpp b/src/nostalgia/core/opengl/gfx.cpp
similarity index 100%
rename from src/nostalgia/core/userland/gfx.cpp
rename to src/nostalgia/core/opengl/gfx.cpp
diff --git a/src/nostalgia/core/userland/gfx.hpp b/src/nostalgia/core/opengl/gfx.hpp
similarity index 100%
rename from src/nostalgia/core/userland/gfx.hpp
rename to src/nostalgia/core/opengl/gfx.hpp
diff --git a/src/nostalgia/core/userland/gfx_opengl.cpp b/src/nostalgia/core/opengl/gfx_opengl.cpp
similarity index 100%
rename from src/nostalgia/core/userland/gfx_opengl.cpp
rename to src/nostalgia/core/opengl/gfx_opengl.cpp