Mercurial > mplayer.hg
changeset 27622:524f6a87cd23
Fix glAdjustAlignment parameter in glCreateClearTex
author | reimar |
---|---|
date | Sat, 20 Sep 2008 19:41:13 +0000 |
parents | 53b5cf466361 |
children | 788490ed5ce2 |
files | libvo/gl_common.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/gl_common.c Sat Sep 20 17:48:01 2008 +0000 +++ b/libvo/gl_common.c Sat Sep 20 19:41:13 2008 +0000 @@ -366,7 +366,7 @@ if (!stride) return; init = malloc(stride * h); memset(init, val, stride * h); - glAdjustAlignment(w); + glAdjustAlignment(stride); glPixelStorei(GL_UNPACK_ROW_LENGTH, w); glTexImage2D(target, 0, fmt, w, h, 0, format, type, init); glTexParameterf(target, GL_TEXTURE_PRIORITY, 1.0);