From: mfranz Date: Sat, 28 Apr 2007 12:37:20 +0000 (+0000) Subject: allow rgba splash textures (I don't expect that they'll be used much, but X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8f171400038fbee34ec007add3950ff44721daf0;p=flightgear.git 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.) --- 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,