mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 16:50:48 +00:00
fixes for __attribute__((format)) (I'll commit that /after/ release) and freelook
This commit is contained in:
parent
aec65c68a2
commit
ea1386f190
8 changed files with 11 additions and 6 deletions
|
@ -44,6 +44,7 @@ typedef unsigned short PIXEL;
|
|||
#include "qendian.h"
|
||||
#include "console.h"
|
||||
#include "qargs.h"
|
||||
#include "input.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -504,7 +505,7 @@ void VID_Init (unsigned char *palette)
|
|||
else if (num_visuals == 0)
|
||||
{
|
||||
if (template_mask == VisualIDMask)
|
||||
Sys_Error("VID: Bad visual id %d\n", template.visualid);
|
||||
Sys_Error("VID: Bad visual id %ld\n", template.visualid);
|
||||
else
|
||||
Sys_Error("VID: No visuals at depth %d\n", template.depth);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue