<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>OpenLayer Issues</title>
		<link>http://www.allegro.cc/forums/view/586631</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Tue, 25 Jul 2006 14:01:41 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I vaguely remember this being brought up before, but I can&#39;t remember if it was resolved, and I was undable to find old posts about it...</p><p>Whenever I try to run anything written with OL, I get two small images instead of a single window or full screen display. See the following image:</p><p>http://homepages.inspire.net.nz/~lennylen/images/shot.jpg</p><p>I suspect the problem is with my onboard Gfx card which is a GeForce 4 MX. Does anyone else with the same card have the same problem?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Sun, 23 Jul 2006 12:46:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That happens on one of my friends PCs.  But every PC i&#39;ve tried has had the can&#39;t-move-window bug where the window just keeps snapping back to it original position.:-/
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Erkle)</author>
		<pubDate>Sun, 23 Jul 2006 13:14:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
That happens on one of my friends PCs
</p></div></div><p>

Could you find out what type of gfx card he has?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Sun, 23 Jul 2006 18:06:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>He has a GeForce 4 Ti.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Erkle)</author>
		<pubDate>Mon, 24 Jul 2006 13:04:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
I have a Geforce 4 MX 440 SE and have never seen any problems likt this. Do AllegroGL programs do the same thing?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Mon, 24 Jul 2006 13:35:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Is there an OL IRC Channel open?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mordredd)</author>
		<pubDate>Mon, 24 Jul 2006 13:55:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
It&#39;s a pity there are not more OpenLayer developers. I feel sorry for Fladimir to get all these bug reports. <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p><p>It&#39;s a great library though! <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Mon, 24 Jul 2006 14:05:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Do AllegroGL programs do the same thing?
</p></div></div><p>

I can&#39;t think of any that I&#39;ve tried, so I&#39;ll have to test this a bit later. For the moment, I&#39;m downloading the drivers that were released last month.</p><p>[edit]Just remembered that I have AllegroGL installed. All the example programs run fine.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Mon, 24 Jul 2006 14:33:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
As far as I can see the OpenLayer screen setup code is just a wrapper around AllegroGL. So I don&#39;t know why some people seem to be having problems with OL.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Mon, 24 Jul 2006 15:01:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
It&#39;s a pity there are not more OpenLayer developers.
</p></div></div><p>
There&#39;s more than just me now. But yeah, setting up the screen is done with AllegroGL.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fladimir da Gorf)</author>
		<pubDate>Mon, 24 Jul 2006 15:22:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
So why do the AllegroGL examples work and not OpenLayer? <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" /><br />Strange!</p><p>Keep up the good work Fladimir! We do appreciate it. <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Mon, 24 Jul 2006 15:24:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Update:</p><p>I upgraded my drivers, and now instead of two small frameless windows, I get a normal window, but it remains black. <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Mon, 24 Jul 2006 16:51:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Are you trying to display bitmaps using 16-bit color depth? There seems to be a problem displaying bitmaps in 16-bit.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Vasco Freitas)</author>
		<pubDate>Mon, 24 Jul 2006 17:31:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
Yes, openlayer doesn&#39;t work with 16 bit color modes at the moment. Use 32 bit ones..
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Mon, 24 Jul 2006 17:41:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Are you trying to display bitmaps using 16-bit color depth?
</p></div></div><p>

My desktop is set to 32bit.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Mon, 24 Jul 2006 17:45:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>No, are you trying to open a 16bit screen or load 16bit bitmaps?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Mon, 24 Jul 2006 17:48:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
No, are you trying to open a 16bit screen or load 16bit bitmaps?
</p></div></div><p>

I&#39;m simply running other people&#39;s games, not using OL myself. Since they run for everyone else, I assume they are using 32bit bitmaps.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Mon, 24 Jul 2006 18:34:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I upgraded my drivers, and now instead of two small frameless windows, I get a normal window, but it remains black.
</p></div></div><p>
Well, then it really sounds like a driver issue. Have you tried rendering some primitives to the screen (not only Bitmaps)?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fladimir da Gorf)</author>
		<pubDate>Tue, 25 Jul 2006 02:18:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
I&#39;ve attached a test OL app. It opens a 32bit window and you should see a blue background with a black square and a smaller red square inside it.</p><p>Press the LEFT mouse button to exit.<br />(I&#39;ve not attached any DLL&#39;s..But it&#39;s quite big, so maybe I attached some other junk when compiling it. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Tue, 25 Jul 2006 02:46:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>err... i just get a blu screen.</p><p>Ati Mobility Radeon 9700<br />WinXp Pro Sp 2
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (FMC)</author>
		<pubDate>Tue, 25 Jul 2006 02:58:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
Well.. that&#39;s not good. <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Tue, 25 Jul 2006 03:02:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
err... i just get a blu screen.
</p></div></div><p>

Ditto. Though it&#39;s a window and not a full-screen. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Tue, 25 Jul 2006 03:32:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yep, just a blue window<br />Windows 2000 Radeon 9600
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (lambik)</author>
		<pubDate>Tue, 25 Jul 2006 12:06:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, here&#39;s the code (which is based on a OL problem in another thread):
</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><span class="p">#include &lt;OpenLayer.hpp&gt;</span></td></tr><tr><td class="number">3</td><td><span class="k1">using</span> <span class="k1">namespace</span> ol<span class="k2">;</span></td></tr><tr><td class="number">4</td><td><span class="k1">using</span> <span class="k1">namespace</span> std<span class="k2">;</span></td></tr><tr><td class="number">5</td><td>&#160;</td></tr><tr><td class="number">6</td><td><span class="k1">int</span> main<span class="k2">(</span><span class="k1">void</span><span class="k2">)</span></td></tr><tr><td class="number">7</td><td><span class="k2">{</span></td></tr><tr><td class="number">8</td><td>&#160;</td></tr><tr><td class="number">9</td><td>  Setup::SetupProgram<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">10</td><td>&#160;</td></tr><tr><td class="number">11</td><td>  Settings::StoreMemoryBitmaps<span class="k2">(</span><span class="k1">true</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">12</td><td>&#160;</td></tr><tr><td class="number">13</td><td>  Setup::SetupScreen<span class="k2">(</span><span class="n">800</span>, <span class="n">600</span>, WINDOWED<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/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></td></tr><tr><td class="number">16</td><td>&#160;</td></tr><tr><td class="number">17</td><td>  Settings::SetAntialiasing<span class="k2">(</span><span class="k1">true</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">18</td><td>&#160;</td></tr><tr><td class="number">19</td><td>  Bitmap test<span class="k2">(</span><span class="n">200</span>, <span class="n">200</span>, Rgba::BLACK<span class="k2">)</span><span class="k2">;</span><span class="c">//INVISIBLE);</span></td></tr><tr><td class="number">20</td><td>&#160;</td></tr><tr><td class="number">21</td><td>  Canvas::SetTo<span class="k2">(</span>test<span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">22</td><td>  Rect<span class="k2">(</span><span class="n">90</span>, <span class="n">90</span>, <span class="n">20</span>, <span class="n">20</span><span class="k2">)</span>.Draw<span class="k2">(</span>Rgba::RED<span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">23</td><td>&#160;</td></tr><tr><td class="number">24</td><td>  Canvas::SetTo<span class="k2">(</span>SCREEN_BACKBUF<span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">25</td><td>  Canvas::Fill<span class="k2">(</span>Rgba::BLUE<span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">26</td><td>&#160;</td></tr><tr><td class="number">27</td><td>  test.Blit<span class="k2">(</span><span class="n">100</span>, <span class="n">100</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">28</td><td>&#160;</td></tr><tr><td class="number">29</td><td>  <span class="k1">do</span></td></tr><tr><td class="number">30</td><td>  <span class="k2">{</span></td></tr><tr><td class="number">31</td><td>   Canvas::Refresh<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">32</td><td>  <span class="k2">}</span> <span class="k1">while</span> <span class="k2">(</span><span class="k3">!</span><a href="http://www.allegro.cc/manual/mouse_b" target="_blank"><span class="a">mouse_b</span></a><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">33</td><td>  <span class="k1">return</span> <span class="n">0</span><span class="k2">;</span></td></tr><tr><td class="number">34</td><td>  </td></tr><tr><td class="number">35</td><td><span class="k2">}</span></td></tr><tr><td class="number">36</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></td></tr></tbody></table></div></div><p>

Perhaps this means that other buffers are not working for you?</p><p>A proper comprehensive OpenLayer test might be useful to help track down these problems..
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Tue, 25 Jul 2006 14:01:41 +0000</pubDate>
	</item>
</rss>
