[436/906] gleffectssources: fix some warnings from msvc9
This commit is contained in:
parent
a1cd1cdc69
commit
28a11181c8
@ -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];
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user