OpenGL stuff changed (again)
|Reported by:||SF/luke_br||Owned by:||SF/ender|
I now use a method for blitting the sdl_tmpscreen on a texture (see FB2GL::blit16() in fb2opengl.h). With this I didn't have to change much of the SDL original code. There is only one small problem: the end of screen get blurred when shaking. I tried to use a blackrectangle to fill it up, but that cause other problems in the screen (?). I will look that later. BTW, the mouse problem is solved. It happened because the rendering was slow. Now it's s faster. The new variable _screenStart when set (default is 30) centers the screen in OpenGL mode. If it's value is 0 (zero), the game screen is streched vertically to fit the whole monitor screen.
Ticket imported from: #627178. Ticket imported from: patches/207.