fix
This commit is contained in:
parent
25c10cd223
commit
bcfb7bb2b4
3 changed files with 7 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
*.o
|
||||
/mwquake
|
||||
/id1/mwquake
|
||||
|
|
|
|||
2
src/gl.c
2
src/gl.c
|
|
@ -439,6 +439,8 @@ void VID_Init(unsigned char *palette)
|
|||
vid.colormap = host_colormap;
|
||||
vid.fullbright = 256 - LittleLong (*((int *)vid.colormap + 2048));
|
||||
|
||||
MwLibraryInit();
|
||||
|
||||
// interpret command-line params
|
||||
|
||||
// set vid parameters
|
||||
|
|
|
|||
|
|
@ -516,10 +516,10 @@ static int testPollCount;
|
|||
static int testDriver;
|
||||
static int testSocket;
|
||||
|
||||
static void Test_Poll(void);
|
||||
static void Test_Poll(void* arg);
|
||||
PollProcedure testPollProcedure = {NULL, 0.0, Test_Poll};
|
||||
|
||||
static void Test_Poll(void)
|
||||
static void Test_Poll(void* arg)
|
||||
{
|
||||
struct qsockaddr clientaddr;
|
||||
int control;
|
||||
|
|
@ -644,10 +644,10 @@ static qboolean test2InProgress = qfalse;
|
|||
static int test2Driver;
|
||||
static int test2Socket;
|
||||
|
||||
static void Test2_Poll(void);
|
||||
static void Test2_Poll(void* arg);
|
||||
PollProcedure test2PollProcedure = {NULL, 0.0, Test2_Poll};
|
||||
|
||||
static void Test2_Poll(void)
|
||||
static void Test2_Poll(void* arg)
|
||||
{
|
||||
struct qsockaddr clientaddr;
|
||||
int control;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue