Ignore:
Timestamp:
Aug 18, 2008 1:40:36 PM (16 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/R2/src/R2Fonts.cpp

    r1113 r1115  
    113113            glBegin(GL_TRIANGLE_STRIP);
    114114           
    115             glTexCoord2f(charInfo._left, charInfo._top );
     115            glTexCoord2f(charInfo._left, charInfo._top);
    116116            glVertex2i(0, 0);
    117117           
    118118            glTexCoord2f(charInfo._left, charInfo._bottom);
    119             glVertex2i(0, attr._fontHeight);
     119            glVertex2i(0, (GLint)attr._fontHeight);
    120120           
    121121            glTexCoord2f(charInfo._right, charInfo._top);
    122             glVertex2i(charInfo._width, 0);
     122            glVertex2i((GLint)charInfo._width, 0);
    123123           
    124124            glTexCoord2f(charInfo._right,  charInfo._bottom);
    125             glVertex2i((int)charInfo._width, (int)attr._fontHeight);
    126            
    127             glEnd( );
     125            glVertex2i((GLint)charInfo._width, (GLint)attr._fontHeight);
     126           
     127            glEnd();
    128128            glTranslatef(charInfo._width, 0.0f, 0.0f);
    129129        }
Note: See TracChangeset for help on using the changeset viewer.