Fix build with SDL 1.2

This commit is contained in:
Yamagi Burmeister 2017-04-22 10:24:12 +02:00
parent eb2a11f0b2
commit c0b768278f
2 changed files with 3 additions and 6 deletions

View File

@ -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)
{

View File

@ -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