Created
May 21, 2015 01:25
-
-
Save djg/572eb0acc7c7c9667493 to your computer and use it in GitHub Desktop.
glBindBufferRange
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GLuint buf; | |
glGenBuffers(1, &buf); | |
// glBindBuffer(GL_UNIFORM, buf); <-- OSX needs this or ... | |
glBindBufferRange(GL_UNIFORM_BUFFER, 0, buf, 0, 4); // ... this returns GL_INVALID_VALUE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment