Hello,

I have a large application (11 segment, ~300K) which perform some graphics
operations. When I try to change the Visor screen depth to 16 bits, the
operation is performed with no error, but the actual screen depth remain 8
bit:

UInt32 gOldDepth, depth = 16;
UInt32 gOldWidth, gOldHeight;

Boolean enableColor;

WinScreenMode(winScreenModeGet, &gOldWidth, &gOldHeight, &gOldDepth,
&enableColor);

WinScreenMode(winScreenModeSet, &gOldWidth, &gOldHeight, &depth,
&enableColor);

WinScreenMode(winScreenModeGet, &gOldWidth, &gOldHeight, &depth,
&enableColor);

After the last "Get" the depth is 8, alltough it was set a line before to
16.


On a small Starter application everything is ok.
Any ideas?

--
--
Regards,
Miron.

======================================================================
Eng. Miron Ophir,
The MobiMate Team
E-Mail:   [EMAIL PROTECTED]
Home Page:  www.mobimate.com
Private E-Mail:     [EMAIL PROTECTED]
                    [EMAIL PROTECTED]
Private Home Page:  http://members.tripod.com/ophirm
ICQ:               6785948
======================================================================




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to