cnlohr / rawdrawandroid

Build android apps without any java, entirely in C and Make
MIT License
2.75k stars 197 forks source link

Issue with texture wrapping #49

Closed SelfTide closed 2 years ago

SelfTide commented 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. Screenshot_20220901-120606