diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_gl2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c index 89d5bd5f61..55e2e4334d 100644 --- a/libvo/vo_gl2.c +++ b/libvo/vo_gl2.c @@ -228,8 +228,7 @@ static int initTextures(void) if (texgrid) free(texgrid); - texgrid = (struct TexSquare *) - calloc (texnumx * texnumy, sizeof (struct TexSquare)); + texgrid = calloc (texnumx * texnumy, sizeof (struct TexSquare)); raw_line_len = image_width * image_bytes; |