Hi Derakon,

On Mon, May 23, 2011 at 4:04 PM, Mike C. Fletcher <mcfletch@vrplumber.com> wrote:
I'm pretty sure the problem is that you haven't properly bound your
texture for the refresh and as a result you are seeing an error due to
e.g. alignment or similar issues pushing your image parameters into
invalid territory.

I subscribe to Mike's comments. In line 159 you are forgetting to call image.bindTexture() before calling image.refresh(). This might not be what you intended.

Good luck,