mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +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 (!CreateSDLWindow(flags, width, height))
|
||||||
{
|
{
|
||||||
if (flags & SDL_WINDOW_OPENGL)
|
if (flags & SDL_OPENGL)
|
||||||
{
|
{
|
||||||
if (gl_msaa_samples->value)
|
if (gl_msaa_samples->value)
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "header/client.h"
|
#include "header/client.h"
|
||||||
|
#include "../backends/generic/header/input.h"
|
||||||
|
|
||||||
cvar_t *cin_force43;
|
cvar_t *cin_force43;
|
||||||
|
|
||||||
|
@ -576,11 +577,7 @@ SCR_PlayCinematic(char *arg)
|
||||||
byte *palette;
|
byte *palette;
|
||||||
char name[MAX_OSPATH], *dot;
|
char name[MAX_OSPATH], *dot;
|
||||||
|
|
||||||
/* Make sure that all keys are marked up. Under
|
In_FlushQueue();
|
||||||
some circumstances cinematics are started with
|
|
||||||
at least one key marked down, causing them to
|
|
||||||
abort right after the first frame... */
|
|
||||||
Key_MarkAllUp();
|
|
||||||
|
|
||||||
/* make sure background music is not playing */
|
/* make sure background music is not playing */
|
||||||
#ifdef CDA
|
#ifdef CDA
|
||||||
|
|
Loading…
Reference in a new issue