Pārlūkot izejas kodu

~ fixed build issue with the tests on glfw3 native functions

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Alexis Maiquez 5 gadi atpakaļ
vecāks
revīzija
0dc5228cf0
2 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 3 0
      main.cpp
  2. 1 1
      src/WallpaperEngine/Assets/CTexture.h

+ 3 - 0
main.cpp

@@ -5,8 +5,11 @@
 #include <SDL.h>
 #include <FreeImage.h>
 
+#define GLFW_EXPOSE_NATIVE_X11
+
 #include <GL/glew.h>
 #include <GLFW/glfw3.h>
+// #include <GLFW/glfw3native.h>
 
 #include <glm/glm.hpp>
 #include <glm/gtc/matrix_transform.hpp>

+ 1 - 1
src/WallpaperEngine/Assets/CTexture.h

@@ -71,7 +71,7 @@ namespace WallpaperEngine::Assets
         /**
          * Configures how the texture will be handled by the background
          */
-        enum TextureFlags: uint32_t
+        enum TextureFlags : uint32_t
         {
             None = 0,
             NoInterpolation = 1,