mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-01 05:30:58 +00:00
Fix build with SDL 1.2
This commit is contained in:
parent
eb2a11f0b2
commit
c0b768278f
2 changed files with 3 additions and 6 deletions
|
@ -295,7 +295,7 @@ GLimp_InitGraphics(qboolean fullscreen, int *pwidth, int *pheight)
|
|||
{
|
||||
if (!CreateSDLWindow(flags, width, height))
|
||||
{
|
||||
if (flags & SDL_WINDOW_OPENGL)
|
||||
if (flags & SDL_OPENGL)
|
||||
{
|
||||
if (gl_msaa_samples->value)
|
||||
{
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
*/
|
||||
|
||||
#include "header/client.h"
|
||||
#include "../backends/generic/header/input.h"
|
||||
|
||||
cvar_t *cin_force43;
|
||||
|
||||
|
@ -576,11 +577,7 @@ SCR_PlayCinematic(char *arg)
|
|||
byte *palette;
|
||||
char name[MAX_OSPATH], *dot;
|
||||
|
||||
/* Make sure that all keys are marked up. Under
|
||||
some circumstances cinematics are started with
|
||||
at least one key marked down, causing them to
|
||||
abort right after the first frame... */
|
||||
Key_MarkAllUp();
|
||||
In_FlushQueue();
|
||||
|
||||
/* make sure background music is not playing */
|
||||
#ifdef CDA
|
||||
|
|
Loading…
Reference in a new issue