Bugfix for OpenGL (missing real bmp size)
Convert STexture to class CTexture