X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fflash%2Fflash.C;h=e66f396263919ecb2e613cde85319a59a06cc62c;hb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;hp=8bb1a5a72c4b2f402f0f2c985700640bd124d228;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/flash/flash.C b/cinelerra-5.1/plugins/flash/flash.C index 8bb1a5a7..e66f3962 100644 --- a/cinelerra-5.1/plugins/flash/flash.C +++ b/cinelerra-5.1/plugins/flash/flash.C @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * */ #include "flash.h" @@ -161,7 +161,7 @@ int FlashMain::handle_opengl() { #ifdef HAVE_GL -// printf("FlashMain::handle_opengl %d %d %d %d\n", +// printf("FlashMain::handle_opengl %d %d %d %d\n", // get_input()->get_opengl_state(), // get_input()->get_opengl_state(), // get_output()->get_w(), @@ -198,10 +198,10 @@ int FlashMain::handle_opengl() // Draw flash overlay glDisable(GL_TEXTURE_2D); - + glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - if(BC_CModels::is_yuv(get_output()->get_color_model())) + if(BC_CModels::is_yuv(get_output()->get_color_model())) glColor4f(1.0, 0.5, 0.5, fraction); else glColor4f(1.0, 1.0, 1.0, fraction);