Hi,

I'm getting a message Window Draw State Stack Not Empty" from POSE running a
3.5EZ debug ROM. The error comes when I start my app from the launcher and
points to the code:

    WinScreenMode(winScreenModeGet, 0, 0, &depth, 0);
    if (depth<8)
    {
      //Are we running an EZ processor - i.e. can we do gray?
     UInt32 id, chip;
     Err err;
     UInt16 revision;

     err = FtrGet(sysFtrCreator, sysFtrNumProcessorID, &id);
     if (!err)



      UInt32 newDepth=4;

      chip = id & sysFtrNumProcessorMask;
      revision = id & 0x0ffff;

      if (chip==sysFtrNumProcessorEZ)
       WinScreenMode(winScreenModeSet, 0, 0, &newDepth, 0);
     }
    }

Can anyone tell me what I'm doing wrong here?

Thanks,
Iain






-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to