Thursday, 24 September 2015

SDL render text issue - not appearing

text not appearing, is it z-indexed behind other layers? compile is fine.
maybe need to make placeholder sprite and then render text to it, and then to screen?
is
SDL_RenderCopy(renderer, Message, NULL, &Message_rect);
placement right in the code?
need to check it out.

EDIT:
Seems the font is not loaded ! Getting errors...
Need to make own renderfunction, only load font one time and reference to it.
..found this need to check it out:
http://www.willusher.io/sdl2%20tutorials/2013/12/18/lesson-6-true-type-fonts-with-sdl_ttf/

*** UPDATE ***
This problem has now been solved, read post: http://olejeek.blogspot.com/2015/09/sdl-ttf-now-working-problem-solved.html

No comments:

Post a Comment

Please, no foul language, trolling, keep it clean. Thanx.