Please login or register.

Login with username, password and session length

Author Topic: [FIXED] STBI Skip Callback - incorrect definition.  (Read 1072 times)


  • Nerdus Imperius
  • *****
  • Offline Offline
  • Posts: 562
  • Because Square Eyes Look More Real
[FIXED] STBI Skip Callback - incorrect definition.
« on: September 03, 2015, 17:39:38 »

So whilst messing around with STBI callbacks I notice, the skip callback's definition in LWJGL is:
Code: [Select]
int invoke(long user, int n);
whereas in stb, it is:
Code: [Select]
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.


  • Administrator
  • Nerdus Imperius
  • *****
  • Online Online
  • Posts: 1762
Re: STBI Skip Callback - incorrect definition.
« Reply #1 on: September 04, 2015, 19:22:39 »

Fixed in build 3.0.0b #23. Thanks!