summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/polygon.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-01 14:59:34 -0600
committerBrian Paul <[email protected]>2008-05-01 14:59:34 -0600
commit6e19f82c37191dabcdd882d0edac98a2ca9c11e4 (patch)
tree3ff9fff45cfc55b1bc4419cc842a043e0d53f688 /src/mesa/main/polygon.h
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 'src/mesa/main/polygon.h')
0 files changed, 0 insertions, 0 deletions