--- trunk/reactos/lib/glu32/libutil/mipmap.c 2005-04-28 03:37:01 UTC (rev 14839)
+++ trunk/reactos/lib/glu32/libutil/mipmap.c 2005-04-28 13:01:57 UTC (rev 14840)
@@ -4862,6 +4862,7 @@
if (padding) {
rowsize += psm->unpack_alignment - padding;
}
+
start = (const GLubyte *) userdata + psm->unpack_skip_rows * rowsize +
(psm->unpack_skip_pixels * components / 8);
elements_per_line = width * components;
@@ -5102,7 +5103,7 @@
GLint group_size;
GLint elements_per_line;
GLubyte *start;
- GLubyte *iter;
+ GLubyte *iter = NULL;
const GLushort *iter2;
GLint i, j, k;
GLint myswap_bytes;
@@ -5987,7 +5988,7 @@
int i,j,k,xindex;
const char *temp, *temp0;
- int outindex;
+ int outindex = 0;
int lowx_int, highx_int, lowy_int, highy_int;
float x_percent, y_percent;