From 7e83b1642109e5182083f796a8a5d5e28dab5e5f Mon Sep 17 00:00:00 2001 From: Pixl Date: Sat, 20 Apr 2024 20:55:39 +0200 Subject: [PATCH] Fixed OpenGL Texture glad inclusion - Moved inclusion of glad from header to implementation file --- Hazel/src/Platform/OpenGL/OpenGLTexture.cpp | 1 + Hazel/src/Platform/OpenGL/OpenGLTexture.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Hazel/src/Platform/OpenGL/OpenGLTexture.cpp b/Hazel/src/Platform/OpenGL/OpenGLTexture.cpp index 11d774413..b63b6b14c 100644 --- a/Hazel/src/Platform/OpenGL/OpenGLTexture.cpp +++ b/Hazel/src/Platform/OpenGL/OpenGLTexture.cpp @@ -2,6 +2,7 @@ #include "Platform/OpenGL/OpenGLTexture.h" #include +#include namespace Hazel { diff --git a/Hazel/src/Platform/OpenGL/OpenGLTexture.h b/Hazel/src/Platform/OpenGL/OpenGLTexture.h index 85bd4907f..021a433db 100644 --- a/Hazel/src/Platform/OpenGL/OpenGLTexture.h +++ b/Hazel/src/Platform/OpenGL/OpenGLTexture.h @@ -2,7 +2,7 @@ #include "Hazel/Renderer/Texture.h" -#include +typedef unsigned int GLenum; namespace Hazel {