Gl error 1280: Invalid enum

You can of course set it to something just slightly smaller, e.g. 16380.
The key part is that as long as we don’t need 32 bit indices for the index buffers.

I wouldn’t have thought that we actually changed this, but I’ll double check the code to see what could cause this.

EDIT: Looking at the code, it was the introduction of the sprite trimming that increased the number of (possible) vertices for a sprite from 4 to 8, hence the change in behavior. It was not intentional, and I’ll look into a fix tomorrow, for the beta.

3 Likes

I added issue 4718 for this, and I’m working on a fix for the beta right now.

2 Likes

I have now release a new version of the BETA with a fix for this.
Please try it out to see if it works for you.

4 Likes

At first look all seems ok, as before sprite trimming

We will test more, seems all working, thank you!

2 Likes