Porting a game renderer from JOGL to LWJGL - crashing on drawElements

Started by Souliloquy, March 28, 2012, 17:19:11

Previous topic - Next topic

Souliloquy

Hello,

In an attempt to port an existing game engine renderer from JOGL to LWJGL I have encountered a hard crash on drawElements().
The renderer code is almost identical to a working JOGL renderer and the same test runs with the JOGL renderer (shows a cube).

The relevant OpenGL code:
http://pastebin.com/TKvJgKDi

I'd love to hear about approaches to finding out more about the crash and any tips would be welcome.

Thanks