summaryrefslogtreecommitdiff
path: root/modules/window-opengl
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2024-01-23 16:23:53 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2024-01-23 16:23:53 +0100
commit80132c8e221aa5a922496c46e23432685885ba04 (patch)
treec12774a3fae6837659d925d083328799b7a8b997 /modules/window-opengl
parent8dad985328e2183b224300aa992951131956fdb3 (diff)
modules-all: Renamed every .h file to .hpp
Diffstat (limited to 'modules/window-opengl')
-rw-r--r--modules/window-opengl/SConscript2
-rw-r--r--modules/window-opengl/gl_xcb.cpp2
-rw-r--r--modules/window-opengl/gl_xcb.hpp10
3 files changed, 7 insertions, 7 deletions
diff --git a/modules/window-opengl/SConscript b/modules/window-opengl/SConscript
index 7beee1a..1985c0f 100644
--- a/modules/window-opengl/SConscript
+++ b/modules/window-opengl/SConscript
@@ -13,7 +13,7 @@ dir_path = Dir('.').abspath
window_env = env.Clone();
window_env.sources = sorted(glob.glob(dir_path + "/*.cpp"))
-window_env.headers = sorted(glob.glob(dir_path + "/*.h"))
+window_env.headers = sorted(glob.glob(dir_path + "/*.hpp"))
env.sources += window_env.sources;
env.headers += window_env.headers;
diff --git a/modules/window-opengl/gl_xcb.cpp b/modules/window-opengl/gl_xcb.cpp
index 5ea03f3..bddb4bb 100644
--- a/modules/window-opengl/gl_xcb.cpp
+++ b/modules/window-opengl/gl_xcb.cpp
@@ -1,4 +1,4 @@
-#include "gl_xcb.h"
+#include "gl_xcb.hpp"
#include <cassert>
#include <cstdint>
diff --git a/modules/window-opengl/gl_xcb.hpp b/modules/window-opengl/gl_xcb.hpp
index a737e41..79f182c 100644
--- a/modules/window-opengl/gl_xcb.hpp
+++ b/modules/window-opengl/gl_xcb.hpp
@@ -1,16 +1,16 @@
#pragma once
-#include <forstio/window/xcb.h>
+#include <forstio/window/xcb.hpp>
#ifndef SAW_OGL
#error "OpenGL is not supported"
#endif
-#include "gl_backends.hpp
-#include "gl_context.hpp
-#include "gl_window.hpp
+#include "gl_backends.hpp"
+#include "gl_context.hpp"
+#include "gl_window.hpp"
-#include <GL/glx.h>
+#include <GL/glx.hpp>
namespace saw {
namespace gfx {