[FIXED] STBI Skip Callback - incorrect definition.

Started by quew8, September 03, 2015, 17:39:38

Previous topic - Next topic

quew8

So whilst messing around with STBI callbacks I notice, the skip callback's definition in LWJGL is:
int invoke(long user, int n);

whereas in stb, it is:
void     (*skip)  (void *user,int n);

Obviously the returned int has been added in LWJGL.

I don't know what happens to the returned value as none of the test I've run used the skip callback so I couldn't say whether it would issues.

spasi