Opened 21 years ago

Closed 21 years ago

Last modified 5 years ago

#8197 closed patch

SDL/GL with SDL scalers

Reported by: SF/luke_br Owned by: Kirben
Priority: normal Component: Graphics
Version: Keywords:
Cc: Game:

Description

Using hotswap_gfx_mode() I have added the option on sdl_gl.cpp to use the SDL scalers in a normal (non-OpenGL) window. Bilinear filtering with/without black borders uses an OpenGL window.

The new key combinations: Ctrl + Alt + 1 => Bilinear Filtering on/off (uses OGL window) Ctrl + Alt + 2 => Don't fit game in screen (uses OGL window) Ctrl + Alt + 3 => Fit game in screen (uses OGL window)

SDL backend compatible key combinations: Ctrl + Alt + 4 => GFX_2XSAI (uses SDL window) Ctrl + Alt + 5 => GFX_SUPER2XSAI (uses SDL window) Ctrl + Alt + 6 => ... ... Ctrl + Alt + 9 => GFX_DOTMATRIX (uses SDL window)

The 'Zoom' effect in the OpenGL backend no longer exists.

Ticket imported from: #723308. Ticket imported from: patches/302.

Attachments (1)

sdl_gl.cpp.patch (11.5 KB ) - added by SF/luke_br 21 years ago.
SDL/GL with SDL scalers

Download all attachments as: .zip

Change History (4)

by SF/luke_br, 21 years ago

Attachment: sdl_gl.cpp.patch added

SDL/GL with SDL scalers

comment:1 by Kirben, 21 years ago

Owner: set to Kirben
Status: newclosed

comment:2 by Kirben, 21 years ago

Patch tested on win32 and added to ScummVM.

comment:3 by digitall, 5 years ago

Component: Graphics
Note: See TracTickets for help on using tickets.