diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-05-28 11:45:01 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-05-28 11:45:01 +0100 |
commit | 3c1c392ab177566f09d11a380210e1937741fad2 (patch) | |
tree | 67b12689c60dc2e75a5587988dd11bf36c12da9a /gfx/models | |
parent | Add glad submodule and build a glad library (diff) | |
download | ilt-3c1c392ab177566f09d11a380210e1937741fad2.tar.bz2 ilt-3c1c392ab177566f09d11a380210e1937741fad2.tar.xz ilt-3c1c392ab177566f09d11a380210e1937741fad2.zip |
Swap GLEW for more modern glad
Diffstat (limited to 'gfx/models')
-rw-r--r-- | gfx/models/mesh.h | 2 | ||||
-rw-r--r-- | gfx/models/texture.cpp | 2 | ||||
-rw-r--r-- | gfx/models/vertex.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gfx/models/mesh.h b/gfx/models/mesh.h index 972fe30..71f6dce 100644 --- a/gfx/models/mesh.h +++ b/gfx/models/mesh.h @@ -1,8 +1,8 @@ #pragma once #include "gfx/gl/vertexArrayObject.h" -#include <GL/glew.h> #include <glArrays.h> +#include <glad/gl.h> #include <memory> #include <span> #include <stdTypeDefs.h> diff --git a/gfx/models/texture.cpp b/gfx/models/texture.cpp index 3003319..380f2e0 100644 --- a/gfx/models/texture.cpp +++ b/gfx/models/texture.cpp @@ -1,11 +1,11 @@ #include "texture.h" #include "glArrays.h" #include "tga.h" -#include <GL/glew.h> #include <cache.h> #include <fcntl.h> #include <filesystem.h> #include <gfx/image.h> +#include <glad/gl.h> #include <glm/geometric.hpp> #include <resource.h> #include <stb/stb_image.h> diff --git a/gfx/models/vertex.h b/gfx/models/vertex.h index 181e7e7..0464ea7 100644 --- a/gfx/models/vertex.h +++ b/gfx/models/vertex.h @@ -1,6 +1,6 @@ #pragma once -#include <GL/glew.h> +#include <glad/gl.h> #include <glm/glm.hpp> class Vertex { |