Hi,
I wanted to define an Agar application which is fullscreen, that would
re-use current resolution and bit depth.
Unlike SDL, AG_InitVideo will not accept null width, height or format to
specify that, so I resorted to use AG_InitGraphics instead. I tested
themes.c, and despite the -f option being passed and
"AG_SetBool(agConfig, "view.full-screen", 1);" being indeed executed (I
checked), the window is still not fullscreen. How to go fullscreen, then?
On a side note, in demos/themes/themes.c, some variables (ex: w and h)
are declared, sometimes assigned, but actually never used (curiously the
compiler does not complain; compiling demos with -Wall shows a few other
unused variables).
Thanks for any hint regarding fullscreen,
Best regards,
Olivier Boudeville.
--
Olivier Boudeville
18, rue Victor Pauchet
92 310 Sèvres
06-16-83-37-22
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html