Commit 09916d8f135ec3daf0a9a80cfa1d569c4e922861

henry 2001-11-14T03:23:44

Enabled lighting for texture font

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/demo/FTGLDemo.c b/demo/FTGLDemo.c
index 24f0c3c..fe89c1d 100644
--- a/demo/FTGLDemo.c
+++ b/demo/FTGLDemo.c
@@ -119,6 +119,8 @@ void do_display (void)
 		case FTGL_TEXTURE:
 			glEnable( GL_TEXTURE_2D);
 			glDisable( GL_DEPTH_TEST);
+			my_lighting();
+			glNormal3f( 0.0, 0.0, 1.0);
 //			glDisable( GL_BLEND);
 			break;