At 18:25 22/06/2001, Tom Richardson wrote:

>set OKvid = baSetDisplay( 800 , 600 , 32  , "temp" , false)
>
>this sets the video screen resolution just fine...
>but if the color resolution is 16 bit the buddy API is not setting the
>color depth to 32 (or 24)

You'll need to test whether the display can switch to the colorDepth you're 
attempting to set. Use "test" for the Mode parameter. In the one project 
where I did this, I tested for 24 bit, if that failed then I tested for 32, 
then 16.


--
Mark A. Boyd
Keep-On-Learnin' :)


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to