<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>OpenGL extension GL_ARB_texture_non_power_of_two was not found.</title>
		<link>http://www.allegro.cc/forums/view/589712</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 25 Jan 2007 18:52:19 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That was showing up in the OpenLayer log every time an image was loaded. I don&#39;t know any OpenGL so I&#39;m not quite sure what that means. The result of this is images not displaying on screen. Any help with this would be great. Thanks
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GrantG)</author>
		<pubDate>Thu, 25 Jan 2007 02:26:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
It means your textures have to be a power of 2 in their width and height. I.e. 16 x 16, 32 x 32, 64 x 64, 128 x 128, 256 x 256, etc..
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Thu, 25 Jan 2007 02:27:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Why does that error happen on some computers and not others though? I was loading 50x50 PNGs btw.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GrantG)</author>
		<pubDate>Thu, 25 Jan 2007 02:29:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
It depends if your openGL graphic driver supports the extension AND if your gfx card does.</p><p>Try making your images 64 x 64 PNG&#39;s and see if you see anything.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Thu, 25 Jan 2007 02:31:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Nope changing them to 64x64 didn&#39;t help, I suppose it&#39;s an OpenGL driver or Gfx card problem because my computer has no trouble with this error.</p><p>EDIT: What OpenGL version is needed to fix this?<br />EDIT: I don&#39;t think the gfx card supports OpenGL (or not very well), thanks for the help anyway.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GrantG)</author>
		<pubDate>Thu, 25 Jan 2007 02:39:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s not an error, just a message. By the way, are you using OL 2.0 or a later version?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fladimir da Gorf)</author>
		<pubDate>Thu, 25 Jan 2007 03:33:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I would assume your program is checking for power-of-two somewhere and then aborting when it&#39;s not found, regardless of actual image dimensions.  Now that you&#39;ve ensured that your images <u>are</u> powers of two, you can remove the check.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 25 Jan 2007 03:35:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s OpenLayer that is checking for the extension, and it doesn&#39;t matter if it isn&#39;t found. I think I&#39;ve disabled that message in the later (SVN) versions of OL, just not to confuse everyone.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fladimir da Gorf)</author>
		<pubDate>Thu, 25 Jan 2007 17:45:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
GrantG: What gfx card do you have? It might be that the last SVN version of OpenLayer and the SVN version of AllegroGL will work for you.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Thu, 25 Jan 2007 17:54:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>He didn&#39;t say that it doesn&#39;t work, he&#39;s just wondering what the message is all about.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fladimir da Gorf)</author>
		<pubDate>Thu, 25 Jan 2007 17:56:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
No, he said in the first post:
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I don&#39;t know any OpenGL so I&#39;m not quite sure what that means. The result of this is images not displaying on screen.
</p></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Thu, 25 Jan 2007 17:58:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="source-code snippet"><div class="inner"><pre><span class="k1">if</span> <span class="k2">(</span>
<span class="k3">!</span>allegro_gl_extensions_GL.ARB_texture_non_power_of_two <span class="k3">&amp;</span><span class="k3">&amp;</span> <span class="k3">!</span>allegro_gl_extensions_GL.ARB_texture_rectangle <span class="k3">&amp;</span><span class="k3">&amp;</span> <span class="k3">!</span>allegro_gl_extensions_GL.NV_texture_rectangle
<span class="p">#ifdef ALLEGRO_MACOSX</span>
<span class="k3">!</span>allegro_gl_extensions_GL.EXT_texture_rectangle
<span class="p">#endif</span>
<span class="k2">)</span> <span class="k2">{</span>
<a href="http://www.allegro.cc/manual/create_video_bitmap" target="_blank"><span class="a">create_video_bitmap</span></a><span class="k2">(</span><span class="k2">)</span> with NPOT size will fail.
<span class="k2">}</span>
</pre></div></div><p>

Can someone check if OL could trigger this AGL bug?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Milan Mimica)</author>
		<pubDate>Thu, 25 Jan 2007 18:52:19 +0000</pubDate>
	</item>
</rss>
