Hello Guest

[FIXED] STBI Skip Callback - incorrect definition.

  • 1 Replies
  • 2153 Views
*

Offline quew8

  • *****
  • 569
  • 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.

*

Offline spasi

  • *****
  • 2043
    • WebHotelier
Re: STBI Skip Callback - incorrect definition.
« Reply #1 on: September 04, 2015, 19:22:39 »
Fixed in build 3.0.0b #23. Thanks!