All pastes #1815217 Raw Edit

Untitled

public diff v1 · immutable
#1815217 ·published 2010-02-28 03:16 UTC
rendered paste body
Index: src/display3d.c===================================================================--- src/display3d.c	(revision 9861)+++ src/display3d.c	(working copy)@@ -3318,7 +3318,7 @@ 	}  	// Reset color to white so that features textures are rendered as expected-	glColor3ub(0xFF,0xFF,0xFF);+	glColor3f( 1.0f, 1.0f, 1.0f); 	 	for(psFeature = apsFeatureLists[0]; psFeature; psFeature = psFeature->psNext) 	{Index: src/multiint.c===================================================================--- src/multiint.c	(revision 9861)+++ src/multiint.c	(working copy)@@ -505,6 +505,7 @@ 			screen_Upload(imageData); 		} 		bFboProblem |= glErrors();+		glEnable(GL_CULL_FACE); 	} 	else 	{Index: lib/ivis_opengl/piematrix.c===================================================================--- lib/ivis_opengl/piematrix.c	(revision 9861)+++ lib/ivis_opengl/piematrix.c	(working copy)@@ -322,9 +322,8 @@ void pie_Begin3DScene(void) { 	pie_SetTexturePage(TEXPAGE_FONT);-	glColor3ub(0xFF,0xFF,0xFF);		// Reset Color to white+	glColor3f( 1.0f, 1.0f, 1.0f);		// Reset Color to white 	glDepthRange(0.1, 1);-	glEnable(GL_CULL_FACE); 	drawing_interface = false; }