Fix compiling on Free BSD (thanks to leper for reporting and patch)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code@4997 dfc29bdd-3216-0410-991c-e03cc46cb475
Merge branch releases/1.8 revisions 4923:4997 into trunk:
- Fix compiling on Free BSD (thanks to leper for reporting and patch)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code@4998 dfc29bdd-3216-0410-991c-e03cc46cb475
- Fixed COGLES2Texture::lock issue related to transparency textures. Thanks CuteAlien for your help in diagnose this issue.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code@4999 dfc29bdd-3216-0410-991c-e03cc46cb475
Fix build on bsd once more, seems I missed parts of the patch last time. Thx again @leper.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code@5000 dfc29bdd-3216-0410-991c-e03cc46cb475
Merge branch releases/1.8 revisions 4997:5000 into trunk. 


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code@5001 dfc29bdd-3216-0410-991c-e03cc46cb475
Improvements in COGLES2Texture::lock method:
- support for textures bigger than a screen size.
- support for NPOT textures.
- performance optimizations.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code@5002 dfc29bdd-3216-0410-991c-e03cc46cb475
Map XK_KP_0 to XK_KP_9 to KEY_NUMPAD instead of KEY_KEY values on X11. Thx @sash for reporting.
Unfortunately not noticing any difference so far - discussion in this thread: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=4&t=50484


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code@5003 dfc29bdd-3216-0410-991c-e03cc46cb475
SColor::getData is now const (thx @Ovan for noticing).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code@5004 dfc29bdd-3216-0410-991c-e03cc46cb475