summaryrefslogtreecommitdiff
path: root/src/refresh/gl/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/refresh/gl/draw.c')
-rw-r--r--src/refresh/gl/draw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/refresh/gl/draw.c b/src/refresh/gl/draw.c
index bbdea7b..12ee64f 100644
--- a/src/refresh/gl/draw.c
+++ b/src/refresh/gl/draw.c
@@ -341,15 +341,15 @@ void Draw_Stats(void)
Draw_Stringf(x, y, "2D batches : %i", c.batchesDrawn2D); y += 10;
}
-void Draw_Lightmaps(void)
+void Draw_Lightmaps(const lightmap_builder_t *lm)
{
int i, x, y;
- for (i = 0; i < lm.nummaps; i++) {
+ for (i = 0; i < lm->nummaps; i++) {
x = i & 1;
y = i >> 1;
_GL_StretchPic(256 * x, 256 * y, 256, 256,
- 0, 0, 1, 1, U32_WHITE, lm.texnums[i], 0);
+ 0, 0, 1, 1, U32_WHITE, lm->texnums[i], 0);
}
}