# HG changeset patch # User reimar # Date 1161715898 0 # Node ID 0c63edaa7714b26f10c03f91e987e9d5374a8126 # Parent 39994eb91013357eb94fa1e71bb513098b0bb6ff Fix single-black-pixel-in-upper-left-corner bug (how do people notice a single black pixel?? Amazing...). diff -r 39994eb91013 -r 0c63edaa7714 libvo/vo_gl.c --- a/libvo/vo_gl.c Tue Oct 24 18:45:17 2006 +0000 +++ b/libvo/vo_gl.c Tue Oct 24 18:51:38 2006 +0000 @@ -585,7 +585,7 @@ char *tmp = malloc(stride * h); // convert alpha from weird MPlayer scale. // in-place is not possible since it is reused for future OSDs - for (i = h * stride - 1; i > 0; i--) + for (i = h * stride - 1; i >= 0; i--) tmp[i] = srca[i] - 1; glUploadTex(gl_target, GL_ALPHA, GL_UNSIGNED_BYTE, tmp, stride, 0, 0, w, h, 0);