For the makeTexture(); the decompression seems to work fine now.
I'm not sure why it's not working, though. You could just try something like changing the initial pointer value to 1.
Or it could be something with the syntax of this
Sorry that this became a little more complicated than expected
Edit:
Maybe do it this way? I'm not sure if it will make a difference.
It just looks like it's reading the buffer wrong somehow.
I'm not sure why it's not working, though. You could just try something like changing the initial pointer value to 1.
Or it could be something with the syntax of this
Code:
buffer1[i1++ + 1]
Sorry that this became a little more complicated than expected

Edit:
Maybe do it this way? I'm not sure if it will make a difference.
It just looks like it's reading the buffer wrong somehow.
Code:
RGBQUAD colorQuad = makeColor(buffer2[i2++], buffer2[i2++], buffer1[i1 + 1], buffer1[i1]);
i1 += 2;