Nice,<br><br>  I do wonder however if it would not be better to use the version defs supplied by sdl instead of BBGE_BUILD_SDL2 ?<br><br>SDL/SDL_version.h has these nice defines:<br><br>#define SDL_MAJOR_VERSION       1<br>
#define SDL_MINOR_VERSION       2<br>#define SDL_PATCHLEVEL          14<br><br>SDL_MAJOR_VERSION seams like a nice def to use where the API is different (unless the API where different with different minor verisons aswell?)<br>
<br>Just my 2 cents :)<br><br>/HH<br><br><div class="gmail_quote">2012/6/13 David Gow <span dir="ltr">&lt;<a href="mailto:david@ingeniumdigital.com" target="_blank">david@ingeniumdigital.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I&#39;ve been playing with libSDL 2.0 for the past couple of days, and have ported Aquaria to it. It&#39;s quite a rough port (particularly the CMake bits), but is quite playable, and is a fun way of trying out the new SDL API.<br>

<br>
I&#39;ve attached a patch for those who want to try it out, or --- if you prefer --- there&#39;s a hg repository at <a href="http://davidgow.net/hg/public/aquaria" target="_blank">http://davidgow.net/hg/public/<u></u>aquaria</a><br>

You have to compile with &#39;cmake -DAQUARIA_USE_SDL2=1 -DAQUARIA_SDL2_PREFIX=&lt;path-<u></u>to-sdl2&gt;&#39; at the moment, but it does work (at least for me).<br>
<br>
This is more of an experiment that anything else, so it&#39;s probably not ripe for inclusion in the main tree, but it should be fun to play around with. It&#39;s certainly shown me just how usable SDL 2.0 already is.<br>

<br>
Have fun,<br>
<br>
-- David<br>
<br>_______________________________________________<br>
aquaria mailing list<br>
<a href="mailto:aquaria@icculus.org">aquaria@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/aquaria" target="_blank">http://icculus.org/mailman/listinfo/aquaria</a><br>
<br></blockquote></div><br>