summaryrefslogtreecommitdiff
path: root/src/rend2/tr_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rend2/tr_init.c')
-rw-r--r--src/rend2/tr_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rend2/tr_init.c b/src/rend2/tr_init.c
index 1df69358..0f14c081 100644
--- a/src/rend2/tr_init.c
+++ b/src/rend2/tr_init.c
@@ -1311,7 +1311,7 @@ void R_InitQueries(void)
return;
#ifdef REACTION
- qglGenQueriesARB(ARRAY_SIZE(tr.sunFlareQuery), tr.sunFlareQuery);
+ qglGenQueriesARB(ARRAY_LEN(tr.sunFlareQuery), tr.sunFlareQuery);
#endif
}
@@ -1321,7 +1321,7 @@ void R_ShutDownQueries(void)
return;
#ifdef REACTION
- qglDeleteQueriesARB(ARRAY_SIZE(tr.sunFlareQuery), tr.sunFlareQuery);
+ qglDeleteQueriesARB(ARRAY_LEN(tr.sunFlareQuery), tr.sunFlareQuery);
#endif
}