Changed render to Render
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
diff --git a/demo/FTGLDemo.cpp b/demo/FTGLDemo.cpp
index 4a680d3..bb25253 100644
--- a/demo/FTGLDemo.cpp
+++ b/demo/FTGLDemo.cpp
@@ -220,7 +220,7 @@ void renderFontInfo()
switch( mode)
{
case EDITING:
- infoFont->render("Edit Mode");
+ infoFont->Render("Edit Mode");
break;
case INTERACTIVE:
break;
@@ -231,27 +231,27 @@ void renderFontInfo()
switch( current_font)
{
case FTGL_BITMAP:
- infoFont->render("Bitmap Font");
+ infoFont->Render("Bitmap Font");
break;
case FTGL_PIXMAP:
- infoFont->render("Pixmap Font");
+ infoFont->Render("Pixmap Font");
break;
case FTGL_OUTLINE:
- infoFont->render("Outline Font");
+ infoFont->Render("Outline Font");
break;
case FTGL_POLYGON:
- infoFont->render("Polygon Font");
+ infoFont->Render("Polygon Font");
break;
case FTGL_EXTRUDE:
- infoFont->render("Extruded Font");
+ infoFont->Render("Extruded Font");
break;
case FTGL_TEXTURE:
- infoFont->render("Texture Font");
+ infoFont->Render("Texture Font");
break;
}
glRasterPos2i( 20 , 20 + infoFont->Ascender() - infoFont->Descender());
- infoFont->render(FONT_FILE);
+ infoFont->Render(FONT_FILE);
}
void do_display (void)
@@ -285,7 +285,7 @@ void do_display (void)
// you will need to explicitly call glRasterPos3f (or its ilk) to lock
// in a changed current color.
- fonts[current_font]->render( myString);
+ fonts[current_font]->Render( myString);
renderFontmetrics();
renderFontInfo();
}
diff --git a/test/demo.cpp b/test/demo.cpp
index 24a3afd..0ae110e 100644
--- a/test/demo.cpp
+++ b/test/demo.cpp
@@ -211,7 +211,7 @@ draw_scene()
y = 275.0-font*120.0-j*yild;
if (font >= 3) {
glRasterPos2f(x, y);
- fonts[font]->render(string[j]);
+ fonts[font]->Render(string[j]);
}
else {
if (font == 2) {
@@ -221,7 +221,7 @@ draw_scene()
}
glPushMatrix(); {
glTranslatef(x, y, 0.0);
- fonts[font]->render(string[j]);
+ fonts[font]->Render(string[j]);
} glPopMatrix();
if (font == 2) {
glDisable(GL_TEXTURE_2D);