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?
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?