Changeset 1115 for trunk/packages/vizservers/nanovis/R2
- Timestamp:
- Aug 18, 2008 1:40:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/R2/src/R2Fonts.cpp
r1113 r1115 113 113 glBegin(GL_TRIANGLE_STRIP); 114 114 115 glTexCoord2f(charInfo._left, charInfo._top 115 glTexCoord2f(charInfo._left, charInfo._top); 116 116 glVertex2i(0, 0); 117 117 118 118 glTexCoord2f(charInfo._left, charInfo._bottom); 119 glVertex2i(0, attr._fontHeight);119 glVertex2i(0, (GLint)attr._fontHeight); 120 120 121 121 glTexCoord2f(charInfo._right, charInfo._top); 122 glVertex2i( charInfo._width, 0);122 glVertex2i((GLint)charInfo._width, 0); 123 123 124 124 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(); 128 128 glTranslatef(charInfo._width, 0.0f, 0.0f); 129 129 }
Note: See TracChangeset
for help on using the changeset viewer.