Commit f31295ad8cca07f0488c6ff943505d1d0a672845

henry 2002-12-17T09:10:33

Changed render to Render

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);