From 8f171400038fbee34ec007add3950ff44721daf0 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sat, 28 Apr 2007 12:37:20 +0000 Subject: [PATCH] allow rgba splash textures (I don't expect that they'll be used much, but they don't cost much either, and allow contoured images with colored backgrounds -- nice for squadron emblems etc.) --- src/Main/splash.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Main/splash.cxx b/src/Main/splash.cxx index 4cf41a544..252efb720 100644 --- a/src/Main/splash.cxx +++ b/src/Main/splash.cxx @@ -85,14 +85,14 @@ void fgSplashInit ( const char *splash_texture ) { } else tpath.append( splash_texture ); - splash.read_rgb_texture(tpath.c_str()); + splash.read_rgba_texture(tpath.c_str()); if (!splash.usable()) { // Try compressed SGPath fg_tpath = tpath; fg_tpath.concat( ".gz" ); - splash.read_rgb_texture(fg_tpath.c_str()); + splash.read_rgba_texture(fg_tpath.c_str()); if ( !splash.usable() ) { SG_LOG( SG_GENERAL, SG_ALERT,