it works now with dumb buffers. but I can't believe it wasnt working earlier because of stupidness I1->height = I1->height........