I got the same problem with the Radeon driver
OpenGL renderer string: Mesa DRI R200 20060602 AGP 4x x86/MMX/SSE2 NO-TCL
OpenGL version string: 1.3 Mesa 6.5.2
I could fix it by changing:
glTexImage2D (GL_TEXTURE_2D, 0, GL_RGB, texture_width, ...
to
glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, texture_width, ...
in src/sc2code/libs/graphics/sdl/opengl.c
There seems to be a bug with glTexSubImage2D when src and dst format differ.
Ciao, ET.