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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From this link it seems you are only required to do
GLuintinstead ofgl::GLuint. I would assume this is the case ofGLenumandGLinttoo.