Issues with garbled graphics when using DrawText
BlitzMax Forums/MaxGUI Module/Issues with garbled graphics when using DrawText
| ||
Hi, I've just about finished an app however I have one strange seemingly bug that occurs on Mac, but not in Windows. When drawing text into a canvas this is what it looks like on Windows: However on Mac, it progressively gets worse, with more blocks coming up instead of characters: ![]() Any ideas? Thanks |
| ||
There wasn't an opengl fix some releases ago about this? Some squares appearing instead of the font? It was something about releasing the textures, even when they are still being used. Are you using the latest bmax? Maybe calling glShareContexts() before 'Graphics' could solve your problem? Last edited 2011 |
| ||
Yes, using the latest bmax. When you say before 'Graphics' what do you mean? Before drawing? I am using canvases in MaxGUI code by the way. Thx |
| ||
Just call it before you create the canvas (once). |
| ||
Thanks, that seemed to work! |