jak-project/common
Tyler Wilding d819d6da05
Some checks failed
Lint / 📝 Optional Checks (push) Has been cancelled
Build / 🖥️ Windows (push) Has been cancelled
Build / 🐧 Linux (push) Has been cancelled
Build / 🍎 MacOS (push) Has been cancelled
Inform Pages Repo / Generate Documentation (push) Has been cancelled
Lint / 📝 Formatting (push) Has been cancelled
Lint / 📝 Required Checks (push) Has been cancelled
game: cleanup some display settings related code, forbid invalid game-size resolutions (#3601)
Fixes https://github.com/open-goal/jak-project/issues/3563

These users have the following spamming in logs:
> OpenGL error 0x502 S8246 T824C: GL_INVALID_OPERATION error generated.
Source and destination dimensions must be identical with the current
filtering modes.

And the solution is to correctly set their game-size. The way this
change accomplishes that is by confirming whether or not the set
`game-size` is a valid resolution informed by SDL, if not, it defaults
to the monitor's currently set display mode's resolution.

This also moves the selected display id, and the display mode into the
C++ settings -- closer to where it's actually managed and used. I'm
tempted to do this eventually for the resolutions as well but that stuff
is much more burdensome. This hopefully simplifies debugging, reduces
startup flickering, and removes back-and-forth complexity. Hopefully
this makes debugging display related problems easier. It also adds a
bunch more logging to the related code.
2024-07-27 22:29:14 -04:00
..
audio deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
cross_os_debug deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
cross_sockets REPL related improvements and fixes (#3545) 2024-06-03 00:14:52 -04:00
custom_data [buildactor] support generating collide-meshes for custom models (#3540) 2024-05-29 06:09:20 +02:00
dma [jak3] prim rendering for cloth (#3607) 2024-07-26 20:31:32 -04:00
formatter game: cleanup some display settings related code, forbid invalid game-size resolutions (#3601) 2024-07-27 22:29:14 -04:00
global_profiler debugging: Improve event profiler utility (#3561) 2024-06-22 22:01:33 -04:00
goos REPL related improvements and fixes (#3545) 2024-06-03 00:14:52 -04:00
log debugging: Improve event profiler utility (#3561) 2024-06-22 22:01:33 -04:00
math deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
repl [wip] Jak 3 Overlord (#3567) 2024-07-26 09:42:28 -04:00
serialization [jak2] new subtitle speakers (#3536) 2024-05-30 22:02:44 -04:00
sqlite [jak2] Work-in-progress texture animations (#2819) 2023-07-14 18:17:54 -04:00
texture jak3: add darkjak highres texture anim (#3611) 2024-07-28 02:45:00 +02:00
type_system Dependency graph work - Part 1 - Preliminary work (#3505) 2024-05-12 12:37:59 -04:00
util [jak3] Fix eye slot assignment and textures (#3603) 2024-07-26 11:42:52 -04:00
versions deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
CMakeLists.txt REPL related improvements and fixes (#3545) 2024-06-03 00:14:52 -04:00
common_types.h support c++ tools on macos (#2063) 2022-12-22 17:12:05 -05:00
goal_constants.h [jak3] Set up ckernel (#3308) 2024-01-16 19:24:02 -05:00
link_types.h [jak3] Set up ckernel (#3308) 2024-01-16 19:24:02 -05:00
listener_common.h Typo fix LTT_MSG_INSEPCT (#2778) 2023-06-29 16:45:53 -04:00
symbols.h [jak3] Set up ckernel (#3308) 2024-01-16 19:24:02 -05:00