comparison libvo/vo_gl2.c @ 34061:fe03e0d5c7d0

Remove usage of glColor3f, there is not really a point in it.
author reimar
date Wed, 28 Sep 2011 18:52:11 +0000
parents b7b169f5abda
children f8c523d09e5e
comparison
equal deleted inserted replaced
34060:fab4513840cb 34061:fe03e0d5c7d0
380 static void drawTextureDisplay (void) 380 static void drawTextureDisplay (void)
381 { 381 {
382 struct TexSquare *square = texgrid; 382 struct TexSquare *square = texgrid;
383 int x, y; 383 int x, y;
384 384
385 glColor3f(1.0,1.0,1.0); 385 glColor4f(1.0,1.0,1.0,1.0);
386 386
387 if (is_yuv) 387 if (is_yuv)
388 glEnableYUVConversion(GL_TEXTURE_2D, use_yuv); 388 glEnableYUVConversion(GL_TEXTURE_2D, use_yuv);
389 for (y = 0; y < texnumy; y++) { 389 for (y = 0; y < texnumy; y++) {
390 int thish = texture_height; 390 int thish = texture_height;