Fix build errors when building without SDL

This commit is contained in:
Gustaf Alhäll 2023-07-22 22:47:52 +02:00
parent a752e6c8e4
commit 69089e0858
No known key found for this signature in database
GPG key ID: 6C1F67D690CDEDFD
5 changed files with 4 additions and 3 deletions

View file

@ -57,6 +57,8 @@ const char *VID_GetModeName(INT32 modenum)
return NULL; return NULL;
} }
UINT32 I_GetRefreshRate(void) { return 35; }
void I_UpdateNoBlit(void){} void I_UpdateNoBlit(void){}
void I_FinishUpdate(void){} void I_FinishUpdate(void){}

View file

@ -8,6 +8,5 @@ hw_cache.c
hw_md2load.c hw_md2load.c
hw_md3load.c hw_md3load.c
hw_model.c hw_model.c
u_list.c
hw_batching.c hw_batching.c
r_opengl/r_opengl.c r_opengl/r_opengl.c

View file

@ -15,7 +15,7 @@
#include "hw_md2load.h" #include "hw_md2load.h"
#include "hw_md3load.h" #include "hw_md3load.h"
#include "hw_md2.h" #include "hw_md2.h"
#include "u_list.h" #include "../u_list.h"
#include <string.h> #include <string.h>
static float PI = (3.1415926535897932384626433832795f); static float PI = (3.1415926535897932384626433832795f);

View file

@ -8,7 +8,7 @@
*/ */
#include "u_list.h" #include "u_list.h"
#include "../z_zone.h" #include "z_zone.h"
// Utility for managing // Utility for managing
// structures in a linked // structures in a linked