From 0dc5228cf02d08a4a1d5e7c94022bf9ab337dfac Mon Sep 17 00:00:00 2001 From: Alexis Maiquez Date: Wed, 8 Sep 2021 16:16:45 +0200 Subject: [PATCH] ~ fixed build issue with the tests on glfw3 native functions Signed-off-by: Alexis Maiquez --- main.cpp | 3 +++ src/WallpaperEngine/Assets/CTexture.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 1a834d5..3c7703a 100644 --- a/main.cpp +++ b/main.cpp @@ -5,8 +5,11 @@ #include #include +#define GLFW_EXPOSE_NATIVE_X11 + #include #include +// #include #include #include diff --git a/src/WallpaperEngine/Assets/CTexture.h b/src/WallpaperEngine/Assets/CTexture.h index 663c019..083a9cc 100644 --- a/src/WallpaperEngine/Assets/CTexture.h +++ b/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,