16
DotNet / Sprites become flat squares when renderWindow is re-created
« on: June 07, 2010, 08:44:41 am »
I'm using SFML with Mono. I have the PC build working fine, and now I'm porting it over to Linux. I'm really loving SFML's ease of use - I'm definitely looking toward to continuing using it for future projects.
I noticed a quirk in the Linux build. I'm not sure if it's SFML or Mono or something else, but I'd like to float it here to see if anyone has seen this before.
Here is how the screen initially looks:
After I change resolution or switch to fullscreen, this happens:
It seems to be triggered whenever I re-create the RenderWindow:
I'm using SFML v1.6 for everything except the graphics component (v1.5 for the graphics). I'm running on 64-bit Windows7, with Ubuntu 10.04 on VirtualBox.
I noticed a quirk in the Linux build. I'm not sure if it's SFML or Mono or something else, but I'd like to float it here to see if anyone has seen this before.
Here is how the screen initially looks:
After I change resolution or switch to fullscreen, this happens:
It seems to be triggered whenever I re-create the RenderWindow:
Code: [Select]
this.app.Close();
this.app = new RenderWindow(new VideoMode(optionsData.VideoWidth, (uint)optionsData.VideoHeight, 32), Resource.MenuTitle, windowStyle);
I'm using SFML v1.6 for everything except the graphics component (v1.5 for the graphics). I'm running on 64-bit Windows7, with Ubuntu 10.04 on VirtualBox.