Path: utzoo!attcan!uunet!clyde.concordia.ca!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!purdue!haven!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.programmer Subject: Re: New SetDepth call Keywords: System 6.0.5, Graphics Devices Manager Message-ID: <1990Jul27.133539.25998@eng.umd.edu> Date: 27 Jul 90 13:35:39 GMT References: <1990Jul26.183633.10926@portia.Stanford.EDU> Sender: news@eng.umd.edu (The News System) Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 19 In article <1990Jul26.183633.10926@portia.Stanford.EDU> rick@jessica.Stanford.EDU (Rick Wong) writes: >Tech Note 276 details a new call available in System 6.0.5 to set the >bit-depth of a device, called SetDepth. >pascal short SetDepth(GDHandle gd, short newDepth, > short whichFlags, short newFlags) > = {0x203C, 0x000A, 0x0013, 0xAB1D}; > >#define kSysEnvVersion 1 >#define kSystem6_0_5 0x0605 > if (gWorld.systemVersion >= kSystem6_0_5 && gWorld.hasColorQD) { Do you have 32-bit Quickdraw installed? 'AB1D' is a trap implemented by 32-bit quickdraw, not (I don't think) System 6.05 itself. -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu ][, ][+, ///, ///+, //e, //c, IIGS, //c+ --- Any questions? Hey! Bush has NO LIPS!