Informations from project life
1 post • Page 1 of 1
So yesterday, we have found funny bug on Windows build. Each time window properties have changed, screen went just full black. After painful investigation (especially because we develop on Unix system), Martin found source of problems. It is limitation of SDL library we use to draw textures. After every window change (resize or fullscreen toggle), all textures that were used as target of partial draw become corrupted. This meant that we had to add recreation of such textures. A lot of classes had textures like that, so it was kinda annoying to add recreation trigger to each of them. But we have managed to fix this issue and Windows users can enjoy their window resizing and fullscreen toggling.