From 23d9c85c91dbfd84bb6fb8e9379d67620f38dddb Mon Sep 17 00:00:00 2001 From: Jerboa-app Date: Tue, 6 Aug 2024 20:25:01 +0100 Subject: [PATCH] Fix macos --- include/jGL/OpenGL/Texture/glTexture.h | 2 +- include/logo.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/jGL/OpenGL/Texture/glTexture.h b/include/jGL/OpenGL/Texture/glTexture.h index 824af17..bf0b5f1 100644 --- a/include/jGL/OpenGL/Texture/glTexture.h +++ b/include/jGL/OpenGL/Texture/glTexture.h @@ -26,7 +26,7 @@ namespace jGL::GL glDeleteTextures(1, &id); } - virtual void upload(unsigned char * data) {}; + virtual void upload(std::vector * data) {}; inline void bind() { glBindTexture(GL_TEXTURE_2D, id); } diff --git a/include/logo.h b/include/logo.h index 803da23..c08a5d3 100644 --- a/include/logo.h +++ b/include/logo.h @@ -2,6 +2,8 @@ logo.h (PNM). */ +#include + template std::array make_bytes(Ts&&... args) noexcept { return{std::byte(std::forward(args))...};