danlorimer
Still Fresh
I have switched to Code:Blocks and everything has been going great. However, when I use the IMG_Load function my program goes schitzo!!
For example: When I use a .png....
CODE
img_temp = IMG_Load("Data/test.png");
if(img_temp == NULL)
{
printf("LoadTexture : %s\n", SDL_GetError());
}
....my debug string says:
QUOTE
LoadTexture : Unsupported texture format
If I use a .bmp, it just doesn't draw anything.
I have used the installer from yauster, and borrowed code from GuyFawkes sdltest but is still fcuked.
Any ideas, folks?
For example: When I use a .png....
CODE
img_temp = IMG_Load("Data/test.png");
if(img_temp == NULL)
{
printf("LoadTexture : %s\n", SDL_GetError());
}
....my debug string says:
QUOTE
LoadTexture : Unsupported texture format
If I use a .bmp, it just doesn't draw anything.
I have used the installer from yauster, and borrowed code from GuyFawkes sdltest but is still fcuked.
Any ideas, folks?