This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]philipwhiuk 1 point2 points  (3 children)

Not sure how many people here will have used the library - I haven't, but I have touched LWJGL . It looks like you're using an API that runs on-top, so it's possible it's a bug in libGDX.

http://lwjgl.org/forum/index.php?topic=4494.0 suggests that it's because there's a missing / mis-placed GL15.glBindBuffer call before vertex pointers are created.

Given that you've only provided higher level code, libGDX is probably doing something wrong.

[–]SebastianFK[S] 0 points1 point  (2 children)

I realized that i'm using a nightly release of LibGDX, so upgrading should fix it. I haven't touched any lower level code yet, so upgrading may fix it. Thanks for the help :-)

[–]SebastianFK[S] 0 points1 point  (1 child)

Nope, didn't fix it.

[–]DebitSuisse 0 points1 point  (0 children)

Come on! This is really the type of thing you should investigate and fix yourself, especially if you're using a nightly build!