Declare is_portable only once in frame.c and not in each backend.

This commit is contained in:
Yamagi Burmeister 2018-02-04 16:48:40 +01:00
parent b3562015b0
commit a1ba33e6d9
4 changed files with 3 additions and 7 deletions

View file

@ -32,8 +32,6 @@
void registerHandler(void);
qboolean is_portable;
int
main(int argc, char **argv)
{

View file

@ -31,8 +31,6 @@
#include "../../common/header/common.h"
qboolean is_portable;
/*
* Windows main function. Containts the
* initialization code and the main loop

View file

@ -48,9 +48,6 @@ static HINSTANCE game_library;
static char console_text[256];
static size_t console_textlen;
// TODO
qboolean is_portable;
/* ================================================================ */
void

View file

@ -69,6 +69,9 @@ void Key_Init(void);
void SCR_EndLoadingPlaque(void);
#endif
// Is the game portable?
qboolean is_portable;
// ----
static void