Graphics modes missing
BlitzMax Forums/BlitzMax Programming/Graphics modes missing
| ||
Does BlitzMax only recognize 16 and 32bit graphics modes? The following program: wid:Int=0 hig:Int=0 dep:Int=0 htz:Int=0 avail:Int=0 av$="" cnt:Int=CountGraphicsModes() Print "~nModes available on this computer:~n" For c:Int=0 To cnt-1 GetGraphicsMode(c,wid,hig,dep,htz) avail=GraphicsModeExists(wid,hig,dep,htz) If avail Then av$="yes" Else av$="no" Print "mode: "+c+" wid: "+wid+" hig: "+hig+" depth: "+dep+" htz: "+htz+" avail?: "+av$ Next Print "~n" End produces the following output: Executing:ListGraphicsModes Modes available on this computer: mode: 0 wid: 640 hig: 480 depth: 16 htz: 0 avail?: yes mode: 1 wid: 640 hig: 480 depth: 32 htz: 0 avail?: yes mode: 2 wid: 800 hig: 600 depth: 16 htz: 0 avail?: yes mode: 3 wid: 800 hig: 600 depth: 32 htz: 0 avail?: yes Done. However, I also have a 256-color mode on this computer in both resolutions. Does blizmax only recognize the high/true color modes or is this a bug? |
| ||
I don't think 8-bit modes will be supported -- it's the same for BlitzPlus/3D. |
| ||
wow.. 16 and 32 Hz.. that was a very slow refresh rate.. ;) :p |
| ||
ever used an Amiga? Ideal to ruin your eyes :-) 50hz all the way. |
| ||
You're reading the output wrong, it lists the htz as 0. 16 and 32 is the bit depth. But anyway... I think it is possible to run in windowed mode and change the desktop to 256 colors - it re-renders the OpenGL window in 256 colors. But even so, I guess everything internally would be 32bit. Is everything internally 32bit in BlitzMax? I didn't remember seeing anything about defining the bit depth of images and such? And yes, I was a big Amiga fan from about 1989 to 2000, but then had to sell it all to immigrate. 50Hz was great. |