LWJGL Forum

Archive => Resolved Bugs/RFE => Topic started by: quew8 on September 03, 2015, 17:39:38

Title: [FIXED] STBI Skip Callback - incorrect definition.
Post by: quew8 on September 03, 2015, 17:39:38
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.
Title: Re: STBI Skip Callback - incorrect definition.
Post by: spasi on September 04, 2015, 19:22:39
Fixed in build 3.0.0b #23. Thanks!