SFML community forums
Help => Graphics => Topic started by: lancel00t on August 28, 2007, 09:34:47 pm
-
I am building the basic example for displaying a sprite using SFML and when I use a PNG image or TGA image the image is backwards and upside down. The only thing I am altering from the supplied source code is the image loading. My setup: MinGW + msys 1.0 + Netbeans. devIL also complains that it is version 166 but should be 168. Looking for help.
I also should add that the image repeats itself like; IMAGEIMAGEIMAGEIMAGE
lancel00t
-
when I use a PNG image or TGA image the image is backwards and upside down
Does it happen with other image formats, or just TGA and PNG ?
devIL also complains that it is version 166 but should be 168
Maybe you're using another (older) DevIL.dll which was previously installed on your system ?
I also should add that the image repeats itself like; IMAGEIMAGEIMAGEIMAGE
This is the first time someone reports this... Any screenshot to show it ?
-
I use Windows Vista (Ultimate) and in general sometimes it can be an Ultimate pain in the rear. I located the MS supplied devil.dll on my system, renamed it to devil.dll.broken, replaced it with devil.dll from ~./bin and everything seems to be okay. Thanks for the prompt reply!
-
Hehe, great :)