Able to actually see anything with SDL?

Pupeno pupeno at pupeno.com
Sat Nov 13 02:56:27 PST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Je Sabato Novembro 13 2004 02:03, Paul Dufresne skribis:
> When I try:
> Slate 1> SDL initialize.
> True
>
> Slate 3> SDL setVideoWidth: 640 Height: 480 BPP: 8.
> True
> Slate 4> SDL drawFilledCircleInX: 320 y: 240 withRadius: 60 red: 100 green:
> 0 blue: 0 alpha: 20.
> 30
> Slate 5> SDL updateScreen.
> 30
>
> I get nothing in the window that have appeared.
>
> Bad parameters?
>
> Was someone getting better?
Yes, be sure not to have another screen over the screen when you do the 
updateScreen or it would be useless, What I so is put the SDL screen 'always 
on top' and then work. What happens is that the screen should be redraw it 
every time it is uncovered, if you have it covered by the terminal where you 
where running slate for running SDL updateScreen, then nothing run 
updateScreen after the screen was uncovered.
- -- 
Pupeno: pupeno at pupeno.com - http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBlehefW48a9PWGkURAgrfAJwLH6V9Nw/aeHz6BkqmygElAaqIogCdHtJG
LNhsH8Zl/7QuT/Col3AxJCY=
=UTDV
-----END PGP SIGNATURE-----




More information about the Slate mailing list