Login  Register

"Invalid memory access of location 0x0 rip=0x116528e48" on glDrawArray

Posted by alterscape on Oct 05, 2011; 3:47pm
URL: https://forum.jogamp.org/Invalid-memory-access-of-location-0x0-rip-0x116528e48-on-glDrawArray-tp3396910.html

JOGL/gluegen built from git jogl: 54fe0a4a5ccc74030e6c00fd13b29fc443620c8f / gluegen:  2fdff368a5e77c31fff242f286c61edabae2669e

Using the GL2 renderer on OS X 10.7.1; VBOs w/GLSL vertex/fragment shader.  Not using the ARB function calls, should I? I can send data to shader uniforms (glUniformMatrix4fv(...)) and bind the vertex attrib pointer, but I receive this error the first time I try to glDrawArrays.  Any idea what would be causing this?

I can post a minimal example to github if requested, shader code is a bit much to include in a forum post.