[436/906] gleffectssources: fix some warnings from msvc9

This commit is contained in:
Julien Isorce 2010-04-26 23:42:38 +02:00 committed by Matthew Waters
parent a1cd1cdc69
commit 28a11181c8
2 changed files with 3 additions and 3 deletions

View file

@ -44,10 +44,10 @@ fill_gaussian_kernel (float *kernel, int size, float sigma)
g_return_if_fail ((size % 2) != 0);
sum = 0.0;
l = (size - 1) / 2.0;
l = (size - 1) / 2;
for (i = 0; i < size; i++) {
kernel[i] = exp (-pow ((i - l), 2.0) / (2 * sigma));
kernel[i] = expf (-pow ((i - l), 2.0) / (2 * sigma));
sum += kernel[i];
}

View file

@ -226,7 +226,7 @@ gst_gl_filter_reflected_screen_draw_floor ()
gluQuadricTexture (q, GL_FALSE);
//drawing the disk. The texture are mapped thanks to the parameter we gave to the GLUquadric q
gluDisk (q, 0.0, 2.0, 50.0, 1.0);
gluDisk (q, 0.0, 2.0, 50, 1);
}
//opengl scene, params: input texture (not the output filter->texture)