Pubby
Pubby

Reputation: 53037

GLenum and GLint not declared when using GL Load

Something like this doesn't compile because GLenum and GLint aren't declared in namespace gl:

#include <glload/gl_3_3.hpp>
#include <glload/gll.hpp>

void foo(gl::GLenum, gl::GLint);

How can I use GLenum and GLint with GL Load?

Upvotes: 0

Views: 3079

Answers (1)

ctor
ctor

Reputation: 6088

From this link it seems you are only required to do GLuint instead of gl::GLuint. I would assume this is the case of GLenum and GLint too.

Upvotes: 1

Related Questions