aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-21 22:11:49 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-21 22:11:49 +0200
commit4b2e316d8bcff035e9695df2c076835389b08362 (patch)
treea3aa40a89b94facd65964a14c6359a4382a1c2a6 /src
parentd3a7e179981798880f28255832b319801aca11b6 (diff)
Remove unused glu and xproto/glxproto dependencies
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 70bd513..8101a89 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -31,14 +31,11 @@
// Modified by: DEC05EBA
-extern "C" {
+#include <GL/glew.h>
#include "../include/window_texture.h"
-}
#include <SDL.h>
-#include <GL/glew.h>
#include <SDL_opengl.h>
-#include <GL/glu.h>
#include <openvr.h>
#define GLX_GLXEXT_PROTOTYPES
#include <GL/glx.h>
@@ -46,11 +43,9 @@ extern "C" {
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
-#include <X11/Xlib.h>
#include <X11/XKBlib.h>
+#include <X11/Xlib.h>
#include <X11/extensions/Xfixes.h>
-#include <X11/Xproto.h>
-#include <GL/glxproto.h>
#include <stdio.h>
#include <string>