<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegro/Vista requires Basic Mode</title>
		<link>http://www.allegro.cc/forums/view/592011</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 29 Jun 2007 02:40:16 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Whenever I run my allegro programs, I get a message that tells me its incompatible with Aero and must switch to basic. Does anybody know the reason for this or how it can be fixed?</p><p>I&#39;m using Allegro 4.2.1 and whatever the newest VC++ Express 2005 is called. I&#39;m also using FMODEx, but I doubt that has anything to do with it.</p><p>Here&#39;s my graphics initialization : </p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/set_color_depth" target="_blank"><span class="a">set_color_depth</span></a><span class="k2">(</span><span class="n">32</span><span class="k2">)</span><span class="k2">;</span>
<a href="http://www.allegro.cc/manual/set_gfx_mode" target="_blank"><span class="a">set_gfx_mode</span></a><span class="k2">(</span>MODE, WIDTH, HEIGHT, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p> <br />where:
</p><div class="source-code snippet"><div class="inner"><pre><span class="p">#define MODE GFX_AUTODETECT_WINDOWED/**/</span>
<span class="p">#define WIDTH 640</span>
<span class="p">#define HEIGHT 480</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (aadfo824)</author>
		<pubDate>Mon, 25 Jun 2007 01:12:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If you use a DX window with a different color depth than the desktop, it must shut down Aero.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Mon, 25 Jun 2007 03:01:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Or in other words:<br />Use  set_color_depth(get_desktop_color_depth()) to avoid this. You might want to check first if the color depth is acceptable, though.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (spellcaster)</author>
		<pubDate>Mon, 25 Jun 2007 04:12:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes, that worked perfectly. Thank you. </p><p>By acceptable, I assume you mean acceptable for the application, ie. checking that its not 8 bit if my bitmaps are 24 bit? I mean, the desktop color depth has got to be acceptable for the PC if the desktop&#39;s using it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (aadfo824)</author>
		<pubDate>Mon, 25 Jun 2007 06:00:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yep, I meant ok for your application. If you require an alpha channel (for example) you might run into a problem if the desktop runs in 15 bits.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (spellcaster)</author>
		<pubDate>Mon, 25 Jun 2007 06:03:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Question: What if your program uses 8-bit colour? Will that still shut down Aero?</p><p>This is good to know so that my future games don&#39;t interfere with how Vista does things.</p><p>--- Kris Asick (Gemini)<br />--- <a href="http://www.pixelships.com">http://www.pixelships.com</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kris Asick)</author>
		<pubDate>Mon, 25 Jun 2007 11:59:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>&quot;so that my future games don&#39;t interfere with how Vista does things&quot;</p><p>That&#39;s terrifically sporting of you old chap <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> A less generous person would suggest that it&#39;s Vista interfering with your games.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matt Smith)</author>
		<pubDate>Tue, 26 Jun 2007 00:57:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, you know what they say. If you can&#39;t beat &#39;em... <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>Besides, I&#39;d rather my games work than make something that doesn&#39;t work and blame someone else. That would just be counterproductive and stupid. In fact, I find it very humorous when a programmer blames Windows for doing something new which messes up their program because I think to myself, &quot;Geeze, those people wouldn&#39;t last very long programming for video game consoles... every three to five years you have to learn to write for a whole new system...&quot;</p><p>--- Kris Asick (Gemini)<br />--- <a href="http://www.pixelships.com">http://www.pixelships.com</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kris Asick)</author>
		<pubDate>Tue, 26 Jun 2007 01:22:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Besides, I&#39;d rather my games work than make something that doesn&#39;t work and blame someone else.
</p></div></div><p>Right. Thats Microsoft&#39;s job. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Tue, 26 Jun 2007 01:27:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Excuse me, but... Will I have to do the desktop pixel depth test if my game runs in fullscreen mode? <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Roberto)</author>
		<pubDate>Fri, 29 Jun 2007 02:13:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>No. Going full screen requires exclusive access to the card, so it doesn&#39;t matter what depth you use.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Fri, 29 Jun 2007 02:40:16 +0000</pubDate>
	</item>
</rss>
