0ad/source/graphics/tests
Ykkrosh e79adae921 Attempt to work around LOS texture alignment bug.
For unknown reasons, sometimes glTexSubImage2D acts as if
GL_UNPACK_ALIGNMENT = 2 or 4, instead of 1. This causes the odd-sized
array uploaded for the LOS texture to be interpreted incorrectly, and
the LOS texture gets rendered very incorrectly.

Pad the array to a multiple of 4 in all cases, so that
GL_UNPACK_ALIGNMENT shouldn't affect it.

Hopefully fixes #2594.

This was SVN commit r15216.
2014-05-25 13:30:39 +00:00
..
test_Color.h Add GPL header 2009-04-18 17:00:33 +00:00
test_LOSTexture.h Attempt to work around LOS texture alignment bug. 2014-05-25 13:30:39 +00:00
test_MeshManager.h Fixes tests broken by [11100] 2012-02-19 22:00:29 +00:00
test_ShaderManager.h Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
test_Terrain.h Delete an unused obsolete method 2012-04-17 21:06:47 +00:00
test_TextureConverter.h Cleanup tex_codec, fixes #2456, patch by IronNerd. 2014-03-13 04:16:20 +00:00
test_TextureManager.h Cleanup tex_codec, fixes #2456, patch by IronNerd. 2014-03-13 04:16:20 +00:00