#8102 closed patch
OpenGL stuff changed (again)
Reported by: | SF/luke_br | Owned by: | SF/ender |
---|---|---|---|
Priority: | normal | Component: | Graphics |
Version: | Keywords: | ||
Cc: | Game: |
Description
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.
Attachments (2)
Change History (5)
by , 22 years ago
Attachment: | fb2opengl.h added |
---|
comment:1 by , 22 years ago
Owner: | set to |
---|---|
Status: | new → closed |
comment:2 by , 22 years ago
Thanks, applied :)
In the future is there any chance you can send diff's instead of whole files? It makes the process easier for us :)
comment:3 by , 6 years ago
Component: | → Graphics |
---|
Functions for rendering in OpenGL (new blit16 method)