mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 00:24:12 +00:00
Make glError testing static, for now, to shut up compiler warnings.
This commit is contained in:
parent
f6b556a3a1
commit
6763d73f99
1 changed files with 3 additions and 3 deletions
|
@ -110,7 +110,7 @@ unsigned int InvalidEnum, InvalidValue, InvalidOperation, OutOfMemory,
|
||||||
extern void (*R_DrawSpriteModel) (struct entity_s *ent);
|
extern void (*R_DrawSpriteModel) (struct entity_s *ent);
|
||||||
|
|
||||||
|
|
||||||
unsigned int
|
static unsigned int
|
||||||
R_TestErrors (unsigned int numerous)
|
R_TestErrors (unsigned int numerous)
|
||||||
{
|
{
|
||||||
switch (qfglGetError ()) {
|
switch (qfglGetError ()) {
|
||||||
|
@ -150,7 +150,7 @@ R_TestErrors (unsigned int numerous)
|
||||||
return numerous;
|
return numerous;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
R_DisplayErrors (void)
|
R_DisplayErrors (void)
|
||||||
{
|
{
|
||||||
if (InvalidEnum)
|
if (InvalidEnum)
|
||||||
|
@ -169,7 +169,7 @@ R_DisplayErrors (void)
|
||||||
printf ("%d Unknown OpenGL errors!\n", Unknown);
|
printf ("%d Unknown OpenGL errors!\n", Unknown);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
R_ClearErrors (void)
|
R_ClearErrors (void)
|
||||||
{
|
{
|
||||||
InvalidEnum = 0;
|
InvalidEnum = 0;
|
||||||
|
|
Loading…
Reference in a new issue