gl: Fix linux build
This commit is contained in:
@@ -5,8 +5,8 @@ namespace gl::ex
|
|||||||
{
|
{
|
||||||
void glNamedBufferStorageEX(GLuint buffer, GLenum target, GLsizeiptr size, const void* data, GLbitfield flags)
|
void glNamedBufferStorageEX(GLuint buffer, GLenum target, GLsizeiptr size, const void* data, GLbitfield flags)
|
||||||
{
|
{
|
||||||
GLint restore = GL_NONE;
|
GLuint restore = GL_NONE;
|
||||||
glGetIntegerv(target, &restore);
|
glGetIntegerv(target, utils::bless<GLint>(&restore));
|
||||||
|
|
||||||
glBindBuffer(target, buffer);
|
glBindBuffer(target, buffer);
|
||||||
glBufferStorage(target, size, data, flags);
|
glBufferStorage(target, size, data, flags);
|
||||||
|
|||||||
Reference in New Issue
Block a user