summaryrefslogtreecommitdiff
path: root/progs/demos/engine.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-05-01 14:59:34 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-05-01 14:59:34 -0600
commit6e19f82c37191dabcdd882d0edac98a2ca9c11e4 (patch)
tree3ff9fff45cfc55b1bc4419cc842a043e0d53f688 /progs/demos/engine.c
parent5f0fa82f68e3f4f7086ed6cf5616ef94820e19ee (diff)
fix conversion of GLfloat display list IDs
Use floor() to convert to int (per Mark Kildard and the SI). Also, change translate_id() to return a signed integer since we may be offsetting from GL_LIST_BASE.
Diffstat (limited to 'progs/demos/engine.c')
0 files changed, 0 insertions, 0 deletions