i actually got it to render something, but currently it is limited to a 32x32 window size, because there is an issue with glTexImage2D