From cb6c0e8e45b9a0e74b327e5d03ca7d75cf954b0b Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 13 May 1999 19:08:10 +0000 Subject: [PATCH] Whups, stupid syntax error, should have compiled before committing. --- Simulator/Objects/material.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Simulator/Objects/material.cxx b/Simulator/Objects/material.cxx index 98ae62864..819405db6 100644 --- a/Simulator/Objects/material.cxx +++ b/Simulator/Objects/material.cxx @@ -209,6 +209,7 @@ FGMaterial::load_texture( const string& root ) if ( gluBuild2DMipmaps( GL_TEXTURE_2D, GL_RGB, width, height, GL_RGB, GL_UNSIGNED_BYTE, texbuf ) != 0 ) + { FG_LOG( FG_GENERAL, FG_ALERT, "Error building mipmaps"); exit(-1); } -- 2.39.5