Hi, I've been trying to use the [Resource] WatchList feature, but it's giving me trouble.
I've tried to use it for hot-swapping my textures, but any image file that's not ridiculously small gets corrupted when I try to change it at runtime.
I've dug a bit into the problem and realized that the orxDisplay_LoadBitmap (src/display/orxDisplay.c:385) is being called too soon. I think as soon as I click export in GIMP and the data starts to get written to the disk, orxDisplay_LoadBitmap gets called and receives incomplete image data. For .bmp files it manifests itself as an texture that's missing some parts of the image, for .png files, I get
[ASSERT] [orxDisplay.c:orxDisplay_GLFW_LoadBitmapData():1091] [ASSERT] : <(s64Size > 0) && (s64Size < 0xFFFFFFFF)>
I've further confirmed my "loading too soon" hypothesis by trying to first save the image with a different name and then renaming it as the texture. This way, there was no trouble reloading the texture.
All of this happened on Ubuntu 14.04 with a 30.2kB 200x84 .png image.