here is the function:
void display_text (int x, int y, TTF_Font* font, SDL_Surface* text, SDL_Surface* destination){
SDL_Rect offset;
offset.x = x;
offset.y = y;
SDL_BlitSurface (text, NULL, destination, &offset);
}
i cannot seem t find the problem with the function, and i dont think it has anything to do with the ttf file (i have it located in the folder with the .exe file, and i have it named corectly etc.)


Sign In
Create Account


Back to top









