SDL fixes and cleanup
- May 15, 2017
-
-
Monster Iestyn authored
I_GetConsoleEvents: Split KEY_EVENT code into a function of its own, like with I_GetEvent's event types One benefit of this is that event_t data need only be created if KEY_EVENT is found, since the other event types never do anything anyway
17a06dd6 -
Monster Iestyn authored87085f24
-
Monster Iestyn authoreda340f2c8
-
Monster Iestyn authored
Not really important or anything, but checking render_soft == rendermode rather than rendermode == render_soft always bugged me. And it's not consistent with the rest of the source code (or at least most of it) anyway.
4979ab6b -
Monster Iestyn authored
If modenum was < 0 or >= MAXWINMODES, that would make windowedModes[modeNum] be out of bounds and possibly crash the game.
d1bbd126 -
Monster Iestyn authored
I_FinishUpdate: OglSdlFinishUpdate should never run for render_soft, even if screens[0] somehow is NULL
093800cb
-