Skip to content

Conversation

@PixlBrosG
Copy link

  • Moved inclusion of glad from header to implementation file

Describe the issue (if no issue has been made)

glad.h was included in the header file for OpenGLTexture, while all other OpenGL related classes included glad in their implementation files

Proposed fix

This moves the inclusion of glad to the implementation file of OpenGLTexture, to fit the same structure as the other GL related classes, as well as avoiding potential issues if/when implementing other APIs - as well as it keeps glad outside of the engine core

Additional context

The solution was tested on Windows 11 with Visual Studio 2022 on the latest version of the VC++ compiler

- Moved inclusion of glad from header to implementation file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants