Closed SelfTide closed 2 years ago
Image is being wrapped when correct size is given.
when imgWidth = 320 and imgHeight = 240 CNFGBlitImage(current_image, (screenx/2) - (imgWidth/2), (screeny/2) - (imgHeight/2), imgWidth, imgHeight, 4);
I added a comp input to CNFGBlitImage for RGB and RGBA.
I am new to opengl, so I'm a bit lost as to what is causing this.
example screenshot of issue.
Image is being wrapped when correct size is given.
when imgWidth = 320 and imgHeight = 240 CNFGBlitImage(current_image, (screenx/2) - (imgWidth/2), (screeny/2) - (imgHeight/2), imgWidth, imgHeight, 4);
I added a comp input to CNFGBlitImage for RGB and RGBA.
I am new to opengl, so I'm a bit lost as to what is causing this.
example screenshot of issue.