<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>What is the minimum OpenGL version for Allegro 5.1?</title>
		<link>http://www.allegro.cc/forums/view/615956</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 02 Jan 2016 12:55:40 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I have a Windows tester who says minisphere fails to initialize on a machine which only supports up to GL 1.3, being unable to create a display.  No minimum GL version is specified in the documentation (unless you specifically ask for GL 3.0), so I&#39;m curious what&#39;s going on.  My display flags are:</p><div class="source-code"><div class="toolbar"><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number"> 1</span><a href="http://www.allegro.cc/manual/al_set_new_display_flags"><span class="a">al_set_new_display_flags</span></a><span class="k2">(</span>ALLEGRO_OPENGL <span class="k3">|</span> ALLEGRO_PROGRAMMABLE_PIPELINE<span class="k2">)</span><span class="k2">;</span>
</div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Wed, 30 Dec 2015 08:59:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t know how well this works, but you can force a maximum version of OpenGL to be used (at least, as far as OpenGL extensions go) via the system configuration: <span class="source-code"><span class="k2">[</span>opengl<span class="k2">]</span> force_opengl_version <span class="k3">=</span> <span class="n">1</span>.<span class="n">2</span></span>.</p><p>It&#39;d be great to also get a log from that tester.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Wed, 30 Dec 2015 11:45:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I could get a log, what is the API I have to use to turn release logging on?</p><p>As for that &quot;force version&quot; flag, I checked the code and it looks like it will force the assumed OpenGL version <i>up</i> as well as down, which needless to say wouldn&#39;t be too nice to do in a production build. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Wed, 30 Dec 2015 22:50:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>For perspective, OpenGL 1.3 came out in 2001 and added multi-texturing, and cube mapping. But it also does not support a great many options. It&#39;s basically &quot;throw a couple polygons at the screen and that&#39;s it.&quot; No VBOs.</p><p>Many toolsets require at least 2.1. Framebuffer objects are an extension but still nearly 100% supported. Allows for shaders.</p><p>I don&#39;t think anyone would really make a new program that targets 1.3 unless they&#39;re doing something terribly wrong, or targeting legacy mobile hardware. But even then, mobiles might ONLY support newer versions than 1.3 depending on their year.</p><p>What video card are you using that supports 1.3? Because that&#39;s around the GeForce 3 era. GF3&#39;s were PCI or AGP 4X, has only 64MB of VRAM and runs at a mere 200 MHz. </p><p>If I were targeting that low, I&#39;d probably be running a library designed from that era, like Allegro 4 + AllegroGL or straight up DirectX &lt;= 8.1.</p><p>[EDIT] WAIT, you&#39;re asking for ALLEGRO_PROGRAMMABLE_PIPELINE? There is no programmable pipeline <a href="https://en.wikipedia.org/wiki/OpenGL#OpenGL_2.0">before 2.0</a>. Right?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chris Katko)</author>
		<pubDate>Thu, 31 Dec 2015 01:38:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, I know it&#39;s very old and not likely to work (the tester in question said the machine was Pentium 4 based), I&#39;m just trying to see if I can get it to work anyway, as a challenge of sorts. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Based on a quick reading of Allegro&#39;s GL code it seems the bare minimum requirement is GL 1.2, so I&#39;m curious what&#39;s causing the hangup.  Probably the programmable pipeline like you say.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Thu, 31 Dec 2015 06:25:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>PROGRAMMABLE_PIPELINE aka shaders only were added in OpenGL 2.0, so no, there is no way you could ever make it work. Without shaders in theory OpenGL 1.2 is the minimum required version for Allegro 5.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Thu, 31 Dec 2015 20:33:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That said, using that flag, I noticed a lot of the blending tests failed (is it due to separate blending?) so even without shaders, the minimum version is probably higher than OpenGL 1.2. We should clarify this point.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 31 Dec 2015 23:45:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>We got it to run by removing the PROGRAMMABLE_PIPELINE flag, so that was indeed the cause.  But yeah, the minimum required version for correct operation should probably be documented somewhere.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Fri, 01 Jan 2016 00:28:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I thought the <span class="source-code">ALLEGRO_PROGRAMMABLE_PIPELINE</span> is now used internally by default, using Allegro&#39;s default shaders for rendering all graphics?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Fri, 01 Jan 2016 00:34:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615956/1018625#target">Mark Oates</a> said:</div><div class="quote"><p> I thought the ALLEGRO_PROGRAMMABLE_PIPELINE is now used internally by default, using Allegro&#39;s default shaders for rendering all graphics? </p></div></div><p>No, that&#39;s not the case.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Sat, 02 Jan 2016 05:38:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Bruce, what is this minisphere I haven&#39;t heard of?  I&#39;m looking online and wow, it&#39;s no small project! <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" />  You just added another follower on github! Are there any screenshots of minisphere games?</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615956/1018667#target">SiegeLord</a> said:</div><div class="quote"><p>No, that&#39;s not the case.</p></div></div><p>I wonder where I got that idea. <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Sat, 02 Jan 2016 09:17:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>@Mark: It&#39;s a general-purpose 2D game engine, a modern reimplementation of the Sphere engine from the late 90s/early 2000s.  As such I use a great deal of Allegro&#39;s functionality, even the new 5.1 stuff like shaders.  JavaScript is used for game logic and includes a stepping debugger (you need the official Windows build to use it though, until I get around to implementing a command-line debugger).</p><p>Official Windows releases are here if you want to try it out (screenshots are there as well):<br /><a href="http://forums.spheredev.org/index.php/topic,1215.0.html">http://forums.spheredev.org/index.php/topic,1215.0.html</a></p><p>I had a post about it in the Depot back in June, but the threads lock so fast around here that it got buried pretty quickly, especially since that was around the time of SpeedHack.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Sat, 02 Jan 2016 12:55:40 +0000</pubDate>
	</item>
</rss>
