A graphics object the size of the desktop = Mav

BlitzMax Forums/BlitzMax Programming/A graphics object the size of the desktop = Mav

H&K(Posted 2010) [#1]
In a different thread GFK said,
Using the desktop res won't work. Somebody here mentioned a while back that creating a graphics object the size of the desktop caused a MAV on some systems, so I don't wanna be defaulting to that


http://www.blitzbasic.com/Community/posts.php?topic=92871

This is a worry for me as I also said that ATM I use a desktop sized boarder-less window for my projects.

Does anyone have any info on the MAV, anyone have this problem etc.

Thanks


GfK(Posted 2010) [#2]
Seek and ye shall find: http://www.blitzbasic.com/Community/posts.php?topic=80208


xlsior(Posted 2010) [#3]
Sounds to me like this has nothing to do with "using the desktop resolution", but everything to do with the computer not having enough video memory to handle both the desktop *and* the specified graphics object, which happens to be the size of the desktop.

I'd think that the only way to prevent this from blowing up, is if there were a way to check whether or not there was sufficient free video memory available before trying to create a screen...