Commit graph

16 commits

Author SHA1 Message Date
Marcin Kurczewski
4fe7045ce1
shell: improve support for windowed mode (#981)
Resolves #896.
2023-09-10 21:18:59 +02:00
Marcin Kurczewski
60323acf05
gfx: add an option to render using framebuffers (#974)
Resolves #114.
2023-09-10 17:26:09 +02:00
Carlo Bramini
dd881ab15f sdl_gl: remove SDL_syswm.h from includes.
After committing #680 for supporting SDL_GL and not using SDL_GetWindowWMInfo() anymore, including SDL_syswm.h (which is a Windows-only include file) is no longer needed. This bit had been forgotten in the previous PR.
2023-01-23 09:00:37 +01:00
Marcin Kurczewski
d6f8ec9df9 gfx: refactor get_extension_support 2023-01-15 23:26:16 +01:00
Carlo Bramini
ffb9e8b51e
context: migrate from wgl_ext to SDL_GL (#680)
Migrate to SDL_GL functions made available in SDL2. Remove wgl_ext.c and wgl_ext.h.

Add additional information to the log file to help debug issues like #582.
2023-01-15 11:14:07 -05:00
rr-
25ac1254dc gfx: remove detailed windows-only error reports 2022-05-18 14:26:40 +02:00
rr-
4b212a796a vars: inline HWND usages; remove Windows dependency 2022-05-18 14:26:40 +02:00
rr-
a692b817b0
misc: fix imports 2022-05-14 19:30:15 +02:00
rr-
c41bea935d style: make parameterless functions void
As ChocolateFan once explained on Discord, in C functions declared as
parameterless in fact are free to take arbitrary number of arguments.
To tell the compiler that the function is not allowed to take any
arguments, we use "func(void)" idiom.
2022-03-17 09:30:28 +01:00
rr-
a710debfca memory: rename Memory_Dup to Memory_DupStr 2022-03-06 18:00:47 +01:00
walkawayy
03d2d64f4b
option/graphics: make vsync optional from glasses menu (#377)
Resolves #364
2022-01-31 15:16:23 +01:00
Marcin Kurczewski
d5e0b31d47
misc: fix memory leaks 2022-01-07 03:14:07 +01:00
rr-
4246992707
ati: convert Renderer to C 2021-12-06 16:59:56 +01:00
rr-
53b2393fbf
ddraw: refactor 2D renderer initialization 2021-12-05 20:52:59 +01:00
rr-
0d138a922a
gfx/context: remove wndproc override 2021-12-05 19:55:59 +01:00
rr-
866e9171d6
glrage: convert Context to C 2021-12-05 19:54:36 +01:00