summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_sky.c
diff options
context:
space:
mode:
authorAnthony Pesch <inolen@gmail.com>2013-05-06 18:01:44 -0700
committerTim Angus <tim@ngus.net>2014-06-17 17:43:33 +0100
commitc0b0fd714ed3c805a72d8f81b9b1ff1fbb51c872 (patch)
tree19a8f24ef58dd9fa8ae7c4712b1f8852392ae23e /src/renderergl2/tr_sky.c
parent856665c109d6a2ea79f223d680771e3040e43d15 (diff)
Misc fixes to IBO code to correctly use sizeof(glIndex_t)
Diffstat (limited to 'src/renderergl2/tr_sky.c')
-rw-r--r--src/renderergl2/tr_sky.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_sky.c b/src/renderergl2/tr_sky.c
index 624ab364..d8fcf506 100644
--- a/src/renderergl2/tr_sky.c
+++ b/src/renderergl2/tr_sky.c
@@ -469,7 +469,7 @@ static void DrawSkySide( struct image_s *image, const int mins[2], const int max
R_DrawElementsVBO(tess.numIndexes - tess.firstIndex, tess.firstIndex, tess.minIndex, tess.maxIndex);
- //qglDrawElements(GL_TRIANGLES, tess.numIndexes - tess.firstIndex, GL_INDEX_TYPE, BUFFER_OFFSET(tess.firstIndex * sizeof(GL_INDEX_TYPE)));
+ //qglDrawElements(GL_TRIANGLES, tess.numIndexes - tess.firstIndex, GL_INDEX_TYPE, BUFFER_OFFSET(tess.firstIndex * sizeof(glIndex_t)));
//R_BindNullVBO();
//R_BindNullIBO();