mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-06 07:51:18 +00:00
warning fix from shortcircuit
This commit is contained in:
parent
d3e32303e1
commit
cb5bd43d4c
1 changed files with 2 additions and 3 deletions
|
@ -201,7 +201,7 @@ GL_EndRendering (void)
|
||||||
Sbar_Changed ();
|
Sbar_Changed ();
|
||||||
}
|
}
|
||||||
|
|
||||||
static int resolutions[][3] = {
|
static unsigned int resolutions[][3] = {
|
||||||
{320, 200, GR_RESOLUTION_320x200},
|
{320, 200, GR_RESOLUTION_320x200},
|
||||||
{320, 240, GR_RESOLUTION_320x240},
|
{320, 240, GR_RESOLUTION_320x240},
|
||||||
{400, 256, GR_RESOLUTION_400x256},
|
{400, 256, GR_RESOLUTION_400x256},
|
||||||
|
@ -253,7 +253,7 @@ static int resolutions[][3] = {
|
||||||
#define NUM_RESOLUTIONS (sizeof (resolutions) / (sizeof (int) * 3))
|
#define NUM_RESOLUTIONS (sizeof (resolutions) / (sizeof (int) * 3))
|
||||||
|
|
||||||
static int
|
static int
|
||||||
findres (int *width, int *height)
|
findres (unsigned int *width, unsigned int *height)
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
|
@ -273,7 +273,6 @@ findres (int *width, int *height)
|
||||||
void
|
void
|
||||||
VID_Init (unsigned char *palette)
|
VID_Init (unsigned char *palette)
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
GLint attribs[32];
|
GLint attribs[32];
|
||||||
|
|
||||||
GLF_Init ();
|
GLF_Init ();
|
||||||
|
|
Loading…
Reference in a new issue