<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegro 4.9.17 released</title>
		<link>http://www.allegro.cc/forums/view/603153</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Wed, 10 Mar 2010 18:24:05 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><a href="http://sourceforge.net/projects/alleg/files/allegro-unstable/4.9.17/">http://sourceforge.net/projects/alleg/files/allegro-unstable/4.9.17/</a></p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Changes from 4.9.16 to 4.9.17 (February 2010)<br />=============================================</p><p>The main developers this time were: Trent Gamblin, Elias Pschernig, Evert<br />Glebbeek, Paul Suntsov, Peter Wang.</p><p>Core:</p><p>-  Removed END_OF_MAIN() everywhere.</p><p>   For MSVC, we pass a linker option through a #pragma.</p><p>   On Mac OS X, we rename main() and call it from a real main() function in the<br />   allegro-main addon.  The prototype for main() for C++ applications should be<br />   &quot;int main(int, char **)&quot;, or the code will not compile on OS X.  For C,<br />   either of the normal ANSI forms is fine.</p><p>   #define ALLEGRO_NO_MAGIC_MAIN disables the #pragma or name mangling, so you<br />   can write a WinMain() or use al_run_main() yourself.</p><p>Graphics:</p><p>-  Fixed a bug in the OpenGL driver where al_draw_bitmap() wouldn&#39;t handle<br />   blitting from the back buffer.</p><p>-  Changing the blending color now works with deferred drawing (Todd Cope).</p><p>-  Avoid some problems with window resizing in Windows/D3D.</p><p>-  Added al_get_d3d_texture_position.</p><p>-  Fixed bug under X11 where al_create_display() would always use the display<br />   options from the first al_create_display() call.</p><p>-  Properly implemented osx_get_opengl_pixelformat_attributes().</p><p>-  Fixed automatic detection of colour depth on OS X.</p><p>-  Fixed al_get_num_display_modes() on Mac OS X 10.6.</p><p>-  Removed al_get_num_display_formats, al_get_display_format_option,<br />   al_set_new_display_format functions as they can&#39;t be implemented on<br />   OSX/iPhone/GPX ports (and were awkward to use).</p><p>-  Replaced al_toggle_window_frame function with a new function<br />   al_toggle_display_flags.</p><p>-  al_load_bitmap() and al_convert_mask_to_alpha() no longer reset the current<br />   transformation.</p><p>-  Add a minimize button to all non-resizable windows on Windows.</p><p>-  The wgl display switch-in/out vtable entries were swapped (Milan Mimica).</p><p>Input:</p><p>-  Some keycodes were out of order in src/win/wkeyboard.c</p><p>-  Fixed mouse range after resizing window on Windows.</p><p>-  Fixed (or worked around) a joystick axis detection problem on Mac OS X.</p><p>-  Change timer counts from &#39;long&#39; to &#39;int64_t&#39;.</p><p>File I/O:</p><p>-  Remove `ret_success&#39; arguments from al_fread32be/le.</p><p>allegro-main addon:</p><p>-  Added an &quot;allegro-main&quot; addon to hold the main() function that is required<br />   on Mac OS X.  This way the user can opt out of it.</p><p>Primitives addon:</p><p>-  Added support for sub-bitmap textures in OpenGL driver.</p><p>-  Added support for sub-bitmap textures in D3D driver.<br />   Made D3D sub-bitmaps work better with user D3D code.</p><p>Audio addons:</p><p>-  Changed the _stream suffix to _f in the audio loading functions.</p><p>-  Added the stream versions of loading functions for wav, ogg and flac.</p><p>-  Rename audio I/O functions to al_load_{format}, al_save_{format},<br />   al_load_{format}_f and al_save_{format}_f.</p><p>-  Added al_load_sample_f, al_save_sample_f, al_load_audio_stream_f and the<br />   related functions.</p><p>-  Fixed a bug where al_save_sample was improperly handling the extension.</p><p>-  al_drain_audio_stream would hang on an audio stream in the &#39;playing&#39; state<br />   (the default) which wasn&#39;t attached to anything.</p><p>-  Fixed a potential deadlock on destroying audio streams by shutting down the<br />   audio driver.</p><p>-  Comment out PA_SINK_SUSPENDED check, which breaks the PulseAudio driver, at<br />   least on Ubuntu 9.10.</p><p>-  Replace unnecessary uses of `long&#39; in audio interfaces.</p><p>Image addons:</p><p>-  Fixed return values of al_save_bmp_f and al_save_pcx_f being ignored.</p><p>-  Changed the _stream suffix to _f in the image loading functions.</p><p>TTF addon:</p><p>-  Drawing TTF fonts no longer resets the current transformation.</p><p>Build system:</p><p>-  Add the CMake option FLAC_STATIC, required when using MSVC with a static<br />   FLAC library.</p><p>-  Link with zlib if linking with PhysicsFS is not enough.</p><p>-  Updated iPhone project files.</p><p>Documentation:</p><p>-  Many documentation updates.</p><p>Examples:</p><p>-  ex_display_options: Added mouse support, query current display settings,<br />   display error if a mode can&#39;t be set.</p><p>Bindings:</p><p>-  Made the Python wrapper work under OSX.</p><p>-  Added a CMake option to build the Python wrapper.</p><p>-  Added al_run_main() mainly to support the Python wrapper on OSX.</p></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Wang)</author>
		<pubDate>Sat, 13 Feb 2010 11:18:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Downloading it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (kenmasters1976)</author>
		<pubDate>Sat, 13 Feb 2010 22:09:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What the hell happened to ex_ttf.exe?</p><p><span class="remote-thumbnail"><span class="json">{"name":"600489","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/1\/9\/1926aaf51d5769265f6b96a62885234d.jpg","w":632,"h":955,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/1\/9\/1926aaf51d5769265f6b96a62885234d"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/1/9/1926aaf51d5769265f6b96a62885234d-240.jpg" alt="600489" width="240" height="362" /></span></p><p><img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Sat, 13 Feb 2010 23:18:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It looks like either the clipping or the rendering is off by one pixel (you can see the difference at the right side of the O in &quot;Allegro&quot; or at the base of the A).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Sat, 13 Feb 2010 23:25:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The ex_ttf looks fine to me in Linux (no clipping of the o and the small green text is well formed) but ex_blend_test crashes
</p><pre>
gdb) run
Starting program: /home/prog/allegro-4.9.17/build/examples/ex_blend_test
[Thread debugging using libthread_db enabled]
[New Thread 0xb64d87e0 (LWP 11018)]
[New Thread 0xb64d7b90 (LWP 11021)]
 OK OK
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb64d87e0 (LWP 11018)]
al_transform_coordinates (trans=0x140, x=0xb7f5b6e0, y=0xb7f5b6e4)
    at /home/prog/allegro-4.9.17/src/transformations.c:214
214        *x = t * trans-&gt;m[0][0] + *y * trans-&gt;m[1][0] + trans-&gt;m[3][0];
(gdb)
</pre><p>
I haven&#39;t fiddled with all of them yet
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Sat, 13 Feb 2010 23:30:50 +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/603153/851223#target">Arthur Kalliokoski</a> said:</div><div class="quote"><p>The ex_ttf looks fine to me in Linux (no clipping of the o and the small green text is well formed)</p></div></div><p>
It&#39;s fine on OS X too. I wonder if it&#39;s a D3D vs OpenGL problem?</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p> but ex_blend_test crashes</p></div></div><p>
Confired on OS X.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Sat, 13 Feb 2010 23:36:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve modified ex_ttf to use OpenGL and the problem is fixed. Using Direct3D produces this &quot;clipping&quot;.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Sat, 13 Feb 2010 23:58:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Curiously, <i>ex_ttf</i> looks fine with the default settings on my machine (Windows XP, old Intel graphics). <i>ex_blend_test</i> crashes, too.</p><p>[EDIT:] It seems that calling <i>al_load_font()</i> before creating the display causes the program to crash. Maybe it&#39;s supposed to be called <i>after</i> the display is created (it&#39;s not in the documentation), but it didn&#39;t crash on 4.9.16. Can&#39;t tell for sure if it was present in the 4.9.17 SVN revisions, though.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (kenmasters1976)</author>
		<pubDate>Sun, 14 Feb 2010 00:11:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>ex_ttf looks fine here, only tested on vmware fusion with nvidia... any pattern for those who it doesn&#39;t work for? Ie what are you graphics cards?</p><p>ken: That&#39;s a bug.. just not sure what is the bug: 1) If you load a font/bitmap before creating a display, should you have to use ALLEGRO_MEMORY_BITMAP? or 2) should Allegro do that itself if there is no display.</p><p>In this example you&#39;d want to load the font after creating the display anyway, because you don&#39;t want a memory font.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Sun, 14 Feb 2010 00:57:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>NVidia Geforce 8600 GT DDR2 512 MB.<br />Windows XP SP3.</p><p>ex_ttf using Direct3D produces that horrible clipping.<br />ex_ttf using OpenGL displays correctly.</p><p>I don&#39;t know about ex_blend_test. It doesn&#39;t do anything. Am I supposed to pass some args or something?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Sun, 14 Feb 2010 01:08:33 +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/603153/851235#target">Trent Gamblin</a> said:</div><div class="quote"><p>In this example you&#39;d want to load the font after creating the display anyway, because you don&#39;t want a memory font.</p></div></div><p> Thanks, I&#39;ll keep that in mind.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (kenmasters1976)</author>
		<pubDate>Sun, 14 Feb 2010 01:15:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Seems like the problem with ex_ttf is related to the global use of transforms. The transform application in D3D was being offset by 0.5 pixels, but that&#39;s already done for bitmap drawing, so drawing was being done starting at the center of a pixel instead of the top left corner. What I think the solution is is to offset primitive drawing in the direct3d functions by -0.5 pixels... I&#39;m not sure how well that is going to work though. SiegeLord will have to answer that question. For now there&#39;s a patch attached to this post that fixes the problem.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Sun, 14 Feb 2010 02:37:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>So what am I doing wrong? :S
</p><div class="source-code snippet"><div class="inner"><pre><span class="k2">[</span> <span class="n">31</span>%<span class="k2">]</span> Building C object addons<span class="k3">/</span>audio<span class="k3">/</span>CMakeFiles<span class="k3">/</span>allegro_audio.dir<span class="k3">/</span>pulseaudio.c.o
<span class="k3">/</span>home<span class="k3">/</span>aviv<span class="k3">/</span>Documents<span class="k3">/</span>Programming<span class="k3">/</span><span class="n">4917</span><span class="k3">/</span>allegro<span class="k3">/</span>addons<span class="k3">/</span>audio<span class="k3">/</span>pulseaudio.c: In function ‘sink_info_cb’<span class="k2">:</span>
<span class="k3">/</span>home<span class="k3">/</span>aviv<span class="k3">/</span>Documents<span class="k3">/</span>Programming<span class="k3">/</span><span class="n">4917</span><span class="k3">/</span>allegro<span class="k3">/</span>addons<span class="k3">/</span>audio<span class="k3">/</span>pulseaudio.c:49: error: ‘pa_sink_state_t’ undeclared <span class="k2">(</span>first use in <span class="k1">this</span> function<span class="k2">)</span>
<span class="k3">/</span>home<span class="k3">/</span>aviv<span class="k3">/</span>Documents<span class="k3">/</span>Programming<span class="k3">/</span><span class="n">4917</span><span class="k3">/</span>allegro<span class="k3">/</span>addons<span class="k3">/</span>audio<span class="k3">/</span>pulseaudio.c:49: error: <span class="k2">(</span>Each undeclared identifier is reported only once
<span class="k3">/</span>home<span class="k3">/</span>aviv<span class="k3">/</span>Documents<span class="k3">/</span>Programming<span class="k3">/</span><span class="n">4917</span><span class="k3">/</span>allegro<span class="k3">/</span>addons<span class="k3">/</span>audio<span class="k3">/</span>pulseaudio.c:49: error: <span class="k1">for</span> each function it appears in.<span class="k2">)</span>
<span class="k3">/</span>home<span class="k3">/</span>aviv<span class="k3">/</span>Documents<span class="k3">/</span>Programming<span class="k3">/</span><span class="n">4917</span><span class="k3">/</span>allegro<span class="k3">/</span>addons<span class="k3">/</span>audio<span class="k3">/</span>pulseaudio.c:49: error: ‘ret’ undeclared <span class="k2">(</span>first use in <span class="k1">this</span> function<span class="k2">)</span>
<span class="k3">/</span>home<span class="k3">/</span>aviv<span class="k3">/</span>Documents<span class="k3">/</span>Programming<span class="k3">/</span><span class="n">4917</span><span class="k3">/</span>allegro<span class="k3">/</span>addons<span class="k3">/</span>audio<span class="k3">/</span>pulseaudio.c:51: error: ‘pa_sink_info’ has no member named ‘state’
<span class="k3">/</span>home<span class="k3">/</span>aviv<span class="k3">/</span>Documents<span class="k3">/</span>Programming<span class="k3">/</span><span class="n">4917</span><span class="k3">/</span>allegro<span class="k3">/</span>addons<span class="k3">/</span>audio<span class="k3">/</span>pulseaudio.c: In function ‘pulseaudio_open’<span class="k2">:</span>
<span class="k3">/</span>home<span class="k3">/</span>aviv<span class="k3">/</span>Documents<span class="k3">/</span>Programming<span class="k3">/</span><span class="n">4917</span><span class="k3">/</span>allegro<span class="k3">/</span>addons<span class="k3">/</span>audio<span class="k3">/</span>pulseaudio.c:93: error: ‘pa_sink_state_t’ undeclared <span class="k2">(</span>first use in <span class="k1">this</span> function<span class="k2">)</span>
<span class="k3">/</span>home<span class="k3">/</span>aviv<span class="k3">/</span>Documents<span class="k3">/</span>Programming<span class="k3">/</span><span class="n">4917</span><span class="k3">/</span>allegro<span class="k3">/</span>addons<span class="k3">/</span>audio<span class="k3">/</span>pulseaudio.c:93: error: expected ‘<span class="k2">;</span>’ before ‘state’
<span class="k3">/</span>home<span class="k3">/</span>aviv<span class="k3">/</span>Documents<span class="k3">/</span>Programming<span class="k3">/</span><span class="n">4917</span><span class="k3">/</span>allegro<span class="k3">/</span>addons<span class="k3">/</span>audio<span class="k3">/</span>pulseaudio.c:95: error: ‘state’ undeclared <span class="k2">(</span>first use in <span class="k1">this</span> function<span class="k2">)</span>
make<span class="k2">[</span><span class="n">2</span><span class="k2">]</span><span class="k2">:</span> <span class="k3">*</span><span class="k3">*</span><span class="k3">*</span> <span class="k2">[</span>addons<span class="k3">/</span>audio<span class="k3">/</span>CMakeFiles<span class="k3">/</span>allegro_audio.dir<span class="k3">/</span>pulseaudio.c.o<span class="k2">]</span> Error <span class="n">1</span>
make<span class="k2">[</span><span class="n">1</span><span class="k2">]</span><span class="k2">:</span> <span class="k3">*</span><span class="k3">*</span><span class="k3">*</span> <span class="k2">[</span>addons<span class="k3">/</span>audio<span class="k3">/</span>CMakeFiles<span class="k3">/</span>allegro_audio.dir<span class="k3">/</span>all<span class="k2">]</span> Error <span class="n">2</span>
make: <span class="k3">*</span><span class="k3">*</span><span class="k3">*</span> <span class="k2">[</span>all<span class="k2">]</span> Error <span class="n">2</span>
</pre></div></div><p>
EDIT:<br />(ran cmake with WANT_PULSEAUDIO and no WANT_OSS or WANT_ALSA, then make gave me this (after everything before being successful))<br />Ubunutu 9.04</p><p>EDIT2: According to <a href="http://0pointer.de/lennart/projects/pulseaudio/doxygen/def_8h.html#af1ba5b1cd9a58a5a914231862779a88f">the internet</a> the required struct is only defined in PulseAudio since 0.9.15, and according to my package manager I have version 0.9.14 (the latest <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />) installed, so probably this is it?</p><p>EDIT3: Interesting! If you remember my previous Audio Troubles thread, I recompiled with ALSA (and no OSS or PulseAudio) and got crappy sound. Curiously enough, I still get crappy sound in all of the audio example <b>except</b> ex_stream_seek, what could be causing this?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Slartibartfast)</author>
		<pubDate>Mon, 15 Feb 2010 14:38:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Static binaries for MinGW and MSVC are up on <a href="http://allegro5.org">http://allegro5.org</a>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Tue, 16 Feb 2010 21:51:12 +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/603153/851477#target">Slartibartfast</a> said:</div><div class="quote"><p>Curiously enough, I still get crappy sound in all of the audio example except ex_stream_seek, what could be causing this?</p></div></div><p>PulseAudio being crappy.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Wed, 17 Feb 2010 01:07:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
What the &lt;censored&gt; happened to ex_ttf.exe?
</p></div></div><p>
Well, I&#39;m back from my little vacation and I can&#39;t reproduce this bug... :-\ Can any of those that have this bug also compile Allegro from source? If not, try these .dll&#39;s and see if they work (obviously remove the suffixes). They might only work for MinGW people, or maybe for nobody at all <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p><a href="http://www.allegro.cc/files/attachment/600536">Minus-Dll</a><br /><a href="http://www.allegro.cc/files/attachment/600537">Plus-Dll</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 18 Feb 2010 06:55:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Cool, Plus DLL solved the problem. The other examples still work as expected. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> Minus didn&#39;t change anything though. Did you commit these fixes to the SVN yet? Or would you mind sending me the changes so I can build it myself?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Thu, 18 Feb 2010 07:11:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That fix makes no sense, so I haven&#39;t committed it yet. Could you try these two .dll&#39;s too? <a href="http://www.allegro.cc/files/attachment/600539">Minus2</a> and <a href="http://www.allegro.cc/files/attachment/600540">Plus2</a>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 18 Feb 2010 08:39:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Both Minus2 and Plus2 dlls fixed the problem. I&#39;m sure the problem isn&#39;t with my build, since the previous minus dll you attached yesterday didn&#39;t fix the problem.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Thu, 18 Feb 2010 18:59:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Those last two dll&#39;s do something different (and something more sane, actually, hah). Can someone who <i>didn&#39;t</i> have this bug use those last two dll&#39;s and see what happens? If it doesn&#39;t break things for those people I&#39;ll commit the changes to SVN.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 18 Feb 2010 20:52:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>As soon as a friend connects I&#39;ll send him the ex_ttf to test.</p><p>What did you change SiegeLord? You removed the 0.5f offset from d3d_bmp?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Thu, 18 Feb 2010 22:37:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Most of the changes are encompassed in the attached diff.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 18 Feb 2010 22:55:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve been debugging for a bit and think I found the problem with using TTF fonts when the display hasn&#39;t been created. I do that when I load a font in another thread just so I can use the text width functions (which I think should be usable without a display).</p><p>The transformations part of the API doesn&#39;t do any checks for a NULL display (which makes sense - you wouldn&#39;t be using transforms unless there was a display), so when the TTF addon calls the transformation functions in render_glyph without checking for a NULL display, a memory error is generated and the program crashes.  </p><p>The attached diff adds a NULL display check to the TTF addon before saving the current transformation.</p><p>Although I&#39;m not sure if this fixes kenmasters1976&#39;s issue - I was still able to load fonts just fine, I just couldn&#39;t call any function using render_glyph.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ameskitty)</author>
		<pubDate>Fri, 19 Feb 2010 00:27:45 +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/603153/852065#target">SiegeLord</a> said:</div><div class="quote"><p>Minus-Dll<br />Plus-Dll</p></div></div><p>
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>Minus2 and Plus2.</p></div></div><p>
I dig the optometrist style of debugging. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Fri, 19 Feb 2010 05:02:21 +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/603153/852205#target">ameskitty</a> said:</div><div class="quote"><p>
which makes sense - you wouldn&#39;t be using transforms unless there was a display
</p></div></div><p>

Unless you are drawing to a memory bitmap.</p><p>We solved the same issue for blending by moving it out of the display and put into thread local storage - which is a bit hackish as conceptually, transforms and blending belong to the display. So not sure yet what to do about transforms.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Fri, 19 Feb 2010 14:49:33 +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/603153/852177#target">SiegeLord</a> said:</div><div class="quote"><p>Can someone who didn&#39;t have this bug use those last two dll&#39;s and see what happens? If it doesn&#39;t break things for those people I&#39;ll commit the changes to SVN.</p></div></div><p> Both <i>dll</i>&#39;s give a correct output for <i>ex_ttf</i> on my machine.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (kenmasters1976)</author>
		<pubDate>Fri, 19 Feb 2010 23:09:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Great, thanks. The changes are now in the SVN.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Fri, 19 Feb 2010 23:18:15 +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/603153/851773#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p>Slartibartfast said:</p><p>Curiously enough, I still get crappy sound in all of the audio example except ex_stream_seek, what could be causing this?</p><p>PulseAudio being crappy.
</p></div></div><p>
Well, the &quot;curiously enough&quot; part refers to ex_stream_seek working fine. And would PulseAudio being crappy matter if I&#39;m using alsa? (seeing as how I couldn&#39;t even get PulseAudio support compiled :S)</p><p>Edit: forgot to say good job for your work on Allegro
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Slartibartfast)</author>
		<pubDate>Sun, 21 Feb 2010 13:13:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>When you use PulseAudio it takes over all sound. That is in a recent Ubuntu, even if you use Alsa, it is routed through PA. You can check it by clicking the PA volume icon. It will have a volume slider for each application currently playing sounds, including those using Alsa - for those it says something like &quot;ALSA plug-in [application name]&quot; instead of just &quot;application name&quot;.</p><p>It also seems possible to fix the lag issue application-wise. For example in LMMS, I can choose alsa, pulseaudio and SDL for sound output.</p><p>If I select Alsa, LMMS simply crashes. Apparently it uses Alsa in a way which does only work with real ALSA, and not the pulseaudio ALSA emulation.</p><p>If I select pulseaudio, it works, but the sound is delayed by half to a full second. Makes it completely unusable of course.</p><p>If I select SDL, it works perfectly. No noticeable delay, and no audio noise even with the smallest possible buffer size. But it still is routed through PA - seems the SDL devs managed to make their audio API somehow trick PA into dropping it&#39;s forced half-second delay. Question is just how did they do it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Sun, 21 Feb 2010 20:28:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Just wanted to say thanks to the Allegro devs, everything is worked as expected after solving the little problem with the d3d clipping. Everything&#39;s working great so far.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dario ff)</author>
		<pubDate>Mon, 22 Feb 2010 06:07:03 +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/603153/852605#target">Elias</a> said:</div><div class="quote"><p>When you use PulseAudio it takes over all sound. That is in a recent Ubuntu, even if you use Alsa, it is routed through PA.</p></div></div><p>
Oh, okay. Lame.
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>If I select SDL, it works perfectly. No noticeable delay, and no audio noise even with the smallest possible buffer size. But it still is routed through PA - seems the SDL devs managed to make their audio API somehow trick PA into dropping it&#39;s forced half-second delay. Question is just how did they do it.
</p></div></div><p>
Considering how in my case, all sound examples fail to produce proper sound except for ex_stream_seek, maybe there is some hidden solution to that problem in the case of ex_stream_seek?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Slartibartfast)</author>
		<pubDate>Tue, 23 Feb 2010 16:16:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>&lt;edit&gt;<br />Never mind.. my problem was just that I didn&#39;t realise allegro 4.9 required a different directX sdk to allegro 4.4. I downloaded <a href="http://trent.gamblin.ca/dx/dx9mgw.zip">this</a> and it fixed the problem. (I&#39;m just leaving my original message in case it helps someone else)<br />&lt;/edit&gt;</p><p>I just downloaded the latest version of the 4.9 branch on svn. It had compile errors, so I reverted to version 12922 (for which the comment was &quot;bumped to 4.9.17&quot;, so I assume it&#39;s the version you&#39;re talking about here) - but that had the same errors.</p><p>Here&#39;s a copy-paste of the first few compile problems:
</p><div class="source-code snippet"><div class="inner"><pre>C:\Programming\allegro5\src\win\wjoydxnu.c: In function `joystick_dinput_acquire<span class="s">':</span>
<span class="s">C:\Programming\allegro5\src\win\wjoydxnu.c:271: warning: implicit declaration of function `IDirectInputDevice8_Acquire'</span>
C:\Programming\allegro5\src\win\wjoydxnu.c: In function `_al_win_joystick_dinput_unacquire<span class="s">':</span>
<span class="s">C:\Programming\allegro5\src\win\wjoydxnu.c:292: warning: implicit declaration of function `IDirectInputDevice8_Unacquire'</span>
C:\Programming\allegro5\src\win\wjoydxnu.c: In function `_al_win_joystick_dinput_grab<span class="s">':</span>
<span class="s">C:\Programming\allegro5\src\win\wjoydxnu.c:318: warning: implicit declaration of function `IDirectInputDevice8_SetCooperativeLevel'</span>
C:\Programming\allegro5\src\win\wjoydxnu.c: In function `joystick_enum_callback<span class="s">':</span>
<span class="s">C:\Programming\allegro5\src\win\wjoydxnu.c:582: warning: implicit declaration of function `IDirectInput8_CreateDevice'</span>
C:\Programming\allegro5\src\win\wjoydxnu.c:587: warning: implicit declaration of function `IDirectInputDevice8_QueryInterface<span class="s">'</span>
<span class="s">C:\Programming\allegro5\src\win\wjoydxnu.c:587: error: `IID_IDirectInputDevice8'</span> undeclared <span class="k2">(</span>first use in <span class="k1">this</span> function<span class="k2">)</span>
</pre></div></div><p>

Any hints as to what I&#39;m doing wrong? I&#39;d prefer to be able to use the most up-to-date code, but maybe I should just download the non-svn version. (?)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Karadoc ~~)</author>
		<pubDate>Wed, 24 Feb 2010 14:17:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Where&#39;s the API for Allegro 5, anyway? All the examples I find are out of date and I don&#39;t see any docs online except for the same API as on the site here ...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (23yrold3yrold)</author>
		<pubDate>Wed, 10 Mar 2010 12:48:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Search for &quot;Allegro 4.9 manual&quot;:</p><p><a href="http://alleg.sourceforge.net/a5docs/refman/index.html">http://alleg.sourceforge.net/a5docs/refman/index.html</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Wed, 10 Mar 2010 12:52:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That works, thanks <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (23yrold3yrold)</author>
		<pubDate>Wed, 10 Mar 2010 12:55:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>There&#39;s a link to the A5 API (the page Matthew posted) on Allegro&#39;s homepage (under &quot;API&quot;): <a href="http://alleg.sourceforge.net/api.html">http://alleg.sourceforge.net/api.html</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Wed, 10 Mar 2010 18:24:05 +0000</pubDate>
	</item>
</rss>
