<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Fullscreen mode ok; Windowed crashes</title>
		<link>http://www.allegro.cc/forums/view/555427</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Wed, 28 Dec 2005 17:14:47 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I use the var<br /><span class="source-code">  <a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>temp<span class="k2">;</span></span></p><p>creating it using<br /><span class="source-code">  temp <span class="k3">=</span> <a href="http://www.allegro.cc/manual/create_bitmap" target="_blank"><span class="a">create_bitmap</span></a><span class="k2">(</span><span class="n">800</span>,<span class="n">600</span><span class="k2">)</span><span class="k2">;</span></span></p><p>After that I&#39;m using it to draw stuff to it and blitt it to the screen.<br />No problem so far.</p><p>At the end of my prog I call<br /><span class="source-code">  <a href="http://www.allegro.cc/manual/destroy_bitmap" target="_blank"><span class="a">destroy_bitmap</span></a><span class="k2">(</span>temp<span class="k2">)</span><span class="k2">;</span></span></p><p>When running the prog in fullscreen mode it exits properly.</p><p>When running in windowed mode it crashes wit the folowing error (translated)
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
*.exe did encounter a problem and had to be closed (what i wanted to do anyway!!) [send] [not send]
</p></div></div><p>

When I remove the line  <span class="source-code"> <a href="http://www.allegro.cc/manual/destroy_bitmap" target="_blank"><span class="a">destroy_bitmap</span></a><span class="k2">(</span>temp<span class="k2">)</span><span class="k2">;</span></span> then the program closes fine in windowed mode too.</p><p>Any ideas? What is wrong in destroying a used bitmap? And why is this only happening when windowed? <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (count)</author>
		<pubDate>Sat, 24 Dec 2005 22:07:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Can we see some more source code?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Sat, 24 Dec 2005 22:08:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>This is the smalest prog I was able to write which is reproducing the error.</p><div class="source-code"><div class="toolbar"></div><div class="inner"><table width="100%"><tbody><tr><td class="number">1</td><td><span class="p">#include &lt;allegro.h&gt;</span></td></tr><tr><td class="number">2</td><td>&#160;</td></tr><tr><td class="number">3</td><td><span class="k1">int</span> main<span class="k2">(</span><span class="k1">int</span> argc, <span class="k1">char</span> <span class="k3">*</span>argv<span class="k2">[</span><span class="k2">]</span><span class="k2">)</span></td></tr><tr><td class="number">4</td><td><span class="k2">{</span></td></tr><tr><td class="number">5</td><td><span class="c">/*** MAIN begin ***/</span></td></tr><tr><td class="number">6</td><td>&#160;</td></tr><tr><td class="number">7</td><td>  <span class="c">/* some vars */</span></td></tr><tr><td class="number">8</td><td>  <span class="k1">int</span> col_white<span class="k2">;</span></td></tr><tr><td class="number">9</td><td>  <a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>temp<span class="k2">;</span></td></tr><tr><td class="number">10</td><td>&#160;</td></tr><tr><td class="number">11</td><td>  <span class="c">/* install allegro, set up the screen */</span></td></tr><tr><td class="number">12</td><td>   <a href="http://www.allegro.cc/manual/allegro_init" target="_blank"><span class="a">allegro_init</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">13</td><td>   <a href="http://www.allegro.cc/manual/set_window_title" target="_blank"><span class="a">set_window_title</span></a><span class="k2">(</span><span class="s">"windowed test O_o"</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">14</td><td>&#160;</td></tr><tr><td class="number">15</td><td>   <a href="http://www.allegro.cc/manual/install_keyboard" target="_blank"><span class="a">install_keyboard</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">16</td><td>   <a href="http://www.allegro.cc/manual/install_timer" target="_blank"><span class="a">install_timer</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">17</td><td>   <a href="http://www.allegro.cc/manual/install_mouse" target="_blank"><span class="a">install_mouse</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">18</td><td>   </td></tr><tr><td class="number">19</td><td>   <span class="c">/* set a 15 or 16 bpp video mode */</span></td></tr><tr><td class="number">20</td><td>   <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">16</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">21</td><td>   <span class="k1">if</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>GFX_AUTODETECT_WINDOWED, <span class="n">800</span>, <span class="n">600</span>, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span> <span class="k3">!</span><span class="k3">=</span> <span class="n">0</span><span class="k2">)</span> <span class="k2">{</span></td></tr><tr><td class="number">22</td><td>      <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">15</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">23</td><td>      <span class="k1">if</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>GFX_AUTODETECT_WINDOWED, <span class="n">800</span>, <span class="n">600</span>, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span> <span class="k3">!</span><span class="k3">=</span> <span class="n">0</span><span class="k2">)</span> <span class="k2">{</span></td></tr><tr><td class="number">24</td><td>        <a href="http://www.allegro.cc/manual/set_gfx_mode" target="_blank"><span class="a">set_gfx_mode</span></a><span class="k2">(</span>GFX_TEXT, <span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">25</td><td>         <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"Error setting a 15 or 16 bpp 800x600 video mode\n%s\n"</span>, <a href="http://www.allegro.cc/manual/allegro_error" target="_blank"><span class="a">allegro_error</span></a><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">26</td><td>      <span class="k2">}</span></td></tr><tr><td class="number">27</td><td>   <span class="k2">}</span>   </td></tr><tr><td class="number">28</td><td>   </td></tr><tr><td class="number">29</td><td>   <span class="c">/* color white */</span></td></tr><tr><td class="number">30</td><td>   col_white <span class="k3">=</span> <a href="http://www.allegro.cc/manual/makecol" target="_blank"><span class="a">makecol</span></a><span class="k2">(</span><span class="n">255</span>,<span class="n">255</span>,<span class="n">255</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">31</td><td>   </td></tr><tr><td class="number">32</td><td>   <span class="c">/* creating the bitmap temp*/</span></td></tr><tr><td class="number">33</td><td>   temp <span class="k3">=</span> <a href="http://www.allegro.cc/manual/create_bitmap" target="_blank"><span class="a">create_bitmap</span></a><span class="k2">(</span><span class="n">800</span>,<span class="n">600</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">34</td><td>&#160;</td></tr><tr><td class="number">35</td><td>    <span class="c">/* clear temp to col_white */</span></td></tr><tr><td class="number">36</td><td>   <a href="http://www.allegro.cc/manual/clear_to_color" target="_blank"><span class="a">clear_to_color</span></a><span class="k2">(</span>temp,col_white<span class="k2">)</span><span class="k2">;</span>   </td></tr><tr><td class="number">37</td><td>&#160;</td></tr><tr><td class="number">38</td><td>&#160;</td></tr><tr><td class="number">39</td><td>  </td></tr><tr><td class="number">40</td><td>  <span class="c">/* main loop */</span></td></tr><tr><td class="number">41</td><td>  <span class="k1">while</span><span class="k2">(</span><span class="k3">!</span><a href="http://www.allegro.cc/manual/key" target="_blank"><span class="a">key</span></a><span class="k2">[</span>KEY_ESC<span class="k2">]</span><span class="k2">)</span> <span class="k2">{</span></td></tr><tr><td class="number">42</td><td>    </td></tr><tr><td class="number">43</td><td>    </td></tr><tr><td class="number">44</td><td>     <span class="c">/* show mouse */</span></td></tr><tr><td class="number">45</td><td>    <a href="http://www.allegro.cc/manual/show_mouse" target="_blank"><span class="a">show_mouse</span></a><span class="k2">(</span>temp<span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">46</td><td>&#160;</td></tr><tr><td class="number">47</td><td>    <span class="c">/* blit temp to screen */</span></td></tr><tr><td class="number">48</td><td>    <a href="http://www.allegro.cc/manual/blit" target="_blank"><span class="a">blit</span></a><span class="k2">(</span>temp, <a href="http://www.allegro.cc/manual/screen" target="_blank"><span class="a">screen</span></a>, <span class="n">0</span>,<span class="n">0</span>,<span class="n">0</span>,<span class="n">0</span>,<span class="n">800</span>,<span class="n">600</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">49</td><td>    </td></tr><tr><td class="number">50</td><td>&#160;</td></tr><tr><td class="number">51</td><td>    </td></tr><tr><td class="number">52</td><td>  <span class="k2">}</span>  </td></tr><tr><td class="number">53</td><td>&#160;</td></tr><tr><td class="number">54</td><td>  </td></tr><tr><td class="number">55</td><td>  <span class="c">/* THIS LINE is causing the problem. removing it will make the prog quit properly */</span></td></tr><tr><td class="number">56</td><td>  <span class="c">/* Otherwise it just crashes */</span></td></tr><tr><td class="number">57</td><td>  <a href="http://www.allegro.cc/manual/destroy_bitmap" target="_blank"><span class="a">destroy_bitmap</span></a><span class="k2">(</span>temp<span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">58</td><td>  </td></tr><tr><td class="number">59</td><td>  <span class="k1">return</span> <span class="n">0</span><span class="k2">;</span></td></tr><tr><td class="number">60</td><td>  </td></tr><tr><td class="number">61</td><td><span class="c">/*** MAIN end ***/</span></td></tr><tr><td class="number">62</td><td><span class="k2">}</span></td></tr><tr><td class="number">63</td><td><a href="http://www.allegro.cc/manual/END_OF_MAIN" target="_blank"><span class="a">END_OF_MAIN</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span></td></tr></tbody></table></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (count)</author>
		<pubDate>Sat, 24 Dec 2005 22:14:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Try show_mouse(NULL) before you destroy temp. That <i>might</i> work, but I&#39;m totally just guessing. Otherwise the hardware mouse will be drawn to a bitmap that no longer exists, making your game crash.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonny Cook)</author>
		<pubDate>Sat, 24 Dec 2005 22:16:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You are guessing really good.</p><p>That worked! Thank you a lot!!</p><p>[EDIT]<br />But why is this only happening in wondowed mode??
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (count)</author>
		<pubDate>Sat, 24 Dec 2005 22:17:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You can bypass show_mouse by just draw_spriting the mouse every loop:</p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/draw_sprite" target="_blank"><span class="a">draw_sprite</span></a><span class="k2">(</span>temp, <a href="http://www.allegro.cc/manual/mouse_sprite" target="_blank"><span class="a">mouse_sprite</span></a>, <a href="http://www.allegro.cc/manual/mouse_x" target="_blank"><span class="a">mouse_x</span></a>, <a href="http://www.allegro.cc/manual/mouse_y" target="_blank"><span class="a">mouse_y</span></a><span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Sat, 24 Dec 2005 22:20:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
But why is this only happening in wondowed mode??
</p></div></div><p>
Your program crashes in fullscreen mode too, you just don&#39;t get that friendly &quot;program crashed&quot; box.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Sat, 24 Dec 2005 22:27:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
You can bypass show_mouse by just draw_spriting the mouse every loop:
</p></div></div><p>

Ok, thanks. <br />I will try that. </p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Your program crashes in fullscreen mode too, you just don&#39;t get that friendly &quot;program crashed&quot; box.
</p></div></div><p>

Ah. Ok. Thanks for solving this! <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (count)</author>
		<pubDate>Sat, 24 Dec 2005 22:28:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
You can bypass show_mouse by just draw_spriting the mouse every loop:
</p></div></div><p>
Which isn&#39;t always a great idea (in fact, I personally consider it a bad idea in all circumstances).<br />I won&#39;t repeat why, I posted that once already today.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Sat, 24 Dec 2005 22:44:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Because mouse update speed will be limited to the framerate of the game.</p><p>But..hmm... should be enough.<br />Still in development. maybe i will change it again.</p><p>And hardware acceleration is not so important. yet <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>Thanks for mentioning that.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (count)</author>
		<pubDate>Sun, 25 Dec 2005 01:31:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Because mouse update speed will be limited to the framerate of the game.</p><p>But..hmm... should be enough.
</p></div></div><p>
It won&#39;t be if your framerate drops for some reason or if your game is running on a slower computer.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
And hardware acceleration is not so important.
</p></div></div><p>
I didn&#39;t mean hardware acceleration, I meant letting the OS do the cursor drawing for you. This eliminates all headaches associated with scaring or unscaring the mouse yourself, it plays a bit nicer with windowed mode (your mouse cursor doesn&#39;t get clipped at the edge of the window) and you don&#39;t run into problems when your framerate drops.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Sun, 25 Dec 2005 02:00:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I didn&#39;t mean hardware acceleration, I meant letting the OS do the cursor drawing for you. This eliminates all headaches associated with scaring or unscaring the mouse yourself, it plays a bit nicer with windowed mode (your mouse cursor doesn&#39;t get clipped at the edge of the window) and you don&#39;t run into problems when your framerate drops.
</p></div></div><p>

Ok. That sounds interesting! Thank you for clarifying this.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
It won&#39;t be if your framerate drops for some reason or if your game is running on a slower computer.
</p></div></div><p>

But when the framerate drops, the whole gameplay will be screwed up.<br />What use is a smooth mouse in such a situation? I mean if the mouse cursor is the only thing that runs smooth, it is of no use? Or am I missing something here (again <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (count)</author>
		<pubDate>Sun, 25 Dec 2005 03:36:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ah yes. I had this problem before but no one could answer it.<br />Excellent job guys.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Ceagon Xylas)</author>
		<pubDate>Sun, 25 Dec 2005 03:44:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
But when the framerate drops, the whole gameplay will be screwed up.
</p></div></div><p>
That should not happen (normally, but depends on your game type) because the game logic and input should continue to run at the same rate on all computers.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
What use is a smooth mouse in such a situation? I mean if the mouse cursor is the only thing that runs smooth, it is of no use?
</p></div></div><p>
See above. If you&#39;ve done things right, the input and logic continue to run at the same speed and it&#39;s just the graphics that are lagging behind. It&#39;s pretty annoying when the game becomes hard to control because the visual cursor is lagging far behind the real position of the cursor.<br />In a way, the mouse cursor is not a part of the graphics system, it&#39;s a part of the input system and should therefor update at (approximately) the same rate.</p><p>For reference, I once (years ago, computers are literally one or two orders of magnitude faster nowadays) looked at this. I had the mouse cursor drawn to a double buffer background and updated it along with the buffer. This was ok-ish on my 300MHz k6 box, but it was utterly unusable on my 486-DX2. Warcraft II ran on the same machine with a perfectly responsive and smooth mouse cursor, so I knew that it was possible to do it `properly&#39;. I think I even had a clever dirty-rectangle-type trick to get around the problem of having to call scare_mouse()/show_mouse(). I even implemented my own scare_mouse_area() (it didn&#39;t exist in Allegro back then).<br />Nowadays, I think hardware cursors are the way to go, if they&#39;re available.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Sun, 25 Dec 2005 04:19:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>OK. Got it now.<br />Thanks for your patience with my slow mind!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (count)</author>
		<pubDate>Sun, 25 Dec 2005 04:56:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I know you seem to have already gotten past this problem, but you may also want to check to make sure that create_bitmap didn&#39;t return NULL.  I don&#39;t see where you did any error checking on that.  Whenever I destroy a bitmap I do something like this:</p><p>if (bmp)<br />    destroy_bitmap(bmp);</p><p>that way, if there isn&#39;t a bitmap to destroy it doesn&#39;t do anything.  I had the same problem with something I was working on, and that fixed the problem.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (wiseguy)</author>
		<pubDate>Tue, 27 Dec 2005 12:59:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That would only work if you set bmp to NULL whenever you destroy it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Tue, 27 Dec 2005 21:25:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Error checking is always a good idea.<br />But I don&#39;t understand what BAF means.</p><p>I just changed my code to display the mouse cursor on the screen and not on my temp bitmap. <br />(with calling &quot;show_mouse(screen);&quot; only once)</p><p>After blitting all the stuff to my temp bitmap I do this:</p><div class="source-code snippet"><div class="inner"><pre>  <a href="http://www.allegro.cc/manual/scare_mouse" target="_blank"><span class="a">scare_mouse</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
  <a href="http://www.allegro.cc/manual/blit" target="_blank"><span class="a">blit</span></a><span class="k2">(</span>temp, <a href="http://www.allegro.cc/manual/screen" target="_blank"><span class="a">screen</span></a>, <span class="n">0</span>,<span class="n">0</span>,<span class="n">0</span>,<span class="n">0</span>,<span class="n">800</span>,<span class="n">600</span><span class="k2">)</span><span class="k2">;</span>
  <a href="http://www.allegro.cc/manual/unscare_mouse" target="_blank"><span class="a">unscare_mouse</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>

I guess this does what i want.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (count)</author>
		<pubDate>Wed, 28 Dec 2005 16:39:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Whenever I destroy a bitmap I do something like this:</p><p>if (bmp)<br />destroy_bitmap(bmp);
</p></div></div><p>
You don&#39;t have to. Passing NULL to destroy_bitmap() is perfectly legal (it does nothing).</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I just changed my code to display the mouse cursor on the screen and not on my temp bitmap.
</p></div></div><p>
That&#39;s a good idea. Having allegro draw the mouse anywhere else than on the screen is sortof pointless anyway and defeats the purpose of having Allegro draw the mouse in the first place.</p><p>One suggestion: look into scare_mouse_area(). That won&#39;t do anything different if you&#39;re using a double buffer, but if you ever want to update only part of the screen, then using scare_mouse_area() is better than using scare_mouse().
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Wed, 28 Dec 2005 17:14:47 +0000</pubDate>
	</item>
</rss>
