Weird glitch when drawing texture

Hello,

I don't know why it's happening but my texture glitch sometimes : https://cl.ly/liWF

Not all time but sometimes. I don't think my code is the problem but if needed : https://pastebin.com/a688B1AN


Comments

  • That's a weird one... it seems at some point you rebase some memory and things get messed up... Just keep count of how many tiles you're drawing, it seems to me that you're placing 60 tiles per second in the same place and at some point internal QUADS buffer is filled up and something brokes.
Sign In or Register to comment.