Skip to content

Commit

Permalink
Include glad/gl.h in materials.hpp for GLfloat to exist if file inclu…
Browse files Browse the repository at this point in the history
…ded on its own
  • Loading branch information
jpaoneMines committed Oct 18, 2024
1 parent a3d7ed0 commit 7625f53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- TextureUtils::loadAndRegister2DTexture() can silence error message
- MD5Model silences all but final texture fail messages during load
- ShaderProgram uses glm::value_ptr() for passing vectors and matrices to program uniforms
- Include glad/gl.h in materials.hpp for GLfloat to exist if file included on its own

## v 5.4.1 - 26 Aug 2024
- Updated README
Expand Down
2 changes: 2 additions & 0 deletions materials.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#ifndef CSCI441_MATERIALS_HPP
#define CSCI441_MATERIALS_HPP

#include <glad/gl.h>

#include <glm/vec4.hpp>
#include <glm/gtc/type_ptr.hpp>

Expand Down

0 comments on commit 7625f53

Please sign in to comment.