[SDL] rendering text
Anders Vind Ebbesen
ave at koderko.dk
Wed Apr 18 08:56:44 PDT 2007
I think you'll get the answer here (on how to position the text):
http://lazyfoo.net/SDL_tutorials/lesson07/index.php
That example doesn't use OpenGL, but why would one use OpenGL to
render ordinary text?
Best regards,
Anders Vind Ebbesen
Coder & Cow
On Apr 18, 2007, at 5:36 PM, Engin Çalar wrote:
> ok thnks for your reply,but>>>
> lets say that i used the actual screen to render the text,but where
> to render it?how to position?
> can someone give a tiny example that includes sdl&opengl and
> displays some text?
> thnks in advance
>
>
> 2007/4/16, Phantom Lord <thephantomlord at gmail.com>:
> Hi,
> If the TTF_Render... functions of the SDL_ttf api asks for a
> SDL_Surface* argument...you could pass the actual screen. Anyway,
> SDL always uses a SDL_Surface for displaying something on screen (I
> dont know if it is inited using SDL_OPENGL, but AFAIK...no).
>
> C ya
>
More information about the SDL
mailing list