I'm trying to do some graphics, with the command "ScreenRes". I know how to do with "SCREEN", but since "ScreenRes" provides better possibilities, I was trying to familiarize myself with it.
At this program, I'm printing the "hello world" at graphics screen:
Code: Select all
ScreenRes 320, 200
Print "Hello world!!"
Sleep
Code: Select all
#include "fbgfx.bi"
#if __FB_LANG__ = "fb"
Using FB '' Screen mode flags are in the FB namespace in lang FB
#endif
ScreenRes 320, 200, (GFX_FULLSCREEN)
Print "Hello world!!"
Sleep
Ehm...Why???
What I'm doing wrong? :-)
TIA!
A.
EDIT:
I tried also with bigger resolutions (that SCREENLIST says that are supported. eg.1024X768). Nothing changes.
Sidequestion:
I'm suspecting that it's related, although I'm not sure.
The manual says that GfxLib defaults to OpenGL, but can alternatively used X11 or XBDev (on Linux).
Supposedly with ScreenControl, but I don't quite understand the procedure! :-)
Anyone knows this item?