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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

alterscape
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.
Reply | Threaded
Open this post in threaded view
|

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

Xfel
Did you bind the vertex attrib pointer from a java array or from a java nio Buffer? I get a similar Error when binding an array on Windows...