DrawText output garbled
BlitzMax Forums/BlitzMax Programming/DrawText output garbled
| ||
I am having an issue where I drawtext over and over and the text gradually get corrupted, i.e. it appears that junk gets written over it. I am doing a lot of pixel manipulations on other pixmaps that were locked from images. I have checked this code to make sure I don't go outside of the bounds of the pixel size (can you even do that?) and I don't believe I am. Are there any known issues regarding font / char images getting corrupted or lost, similar to the white image problem in previous versions because images were released before rendering? Thanks if anyone has any ideas. |
| ||
are you constantly creating and deleting pixmaps? If you are it's probably data left over from a previous pixmap. when you create a pixmap use "ClearPixels" before you use it. |
| ||
I know it may sound a dumb question, but are you using 'Cls' to clear the screen before drawing each frame? |
| ||
Jesse, I am not creating or deleting pixmaps, I am locking, reading and writing pixels, then unlocking. col - Yes I am using Cls to clear the screen before drawing each frame. |
| ||
Is the text getting fuzzy around the edges, or corrupted in some other way? What blend mode are you using? |