Hello!
A few months ago I wrote a Rubik's Cube solver in XNA, and
I've just gone back to it this week to get it to take input from a
webcam (now that I have one!). The solver/input system works fine as
far as I can tell, but I'm having a rather bizarre problem with
something else. If I minimise the solver/hide it behind another window
etc, occasionally some faces will just change colour. For example, I
got the solver to solve a cube. It showed all the graphics of it solving the cube before finally just rendering a solved
cube. However, after minimising the window and bringing it back to focus, it
started rendering this:

Each
side of the cube is made up of a 3x3 array of "miniface"s, which is a
class containing things like colour etc. There is definitely no
code that I've written to make the colours switch after a certain
amount of time- what on earth could be causing this? Minimising it doesn't always do this (it only does it sometimes), but the longer it's minimised, the higher chance there is it will have happened.
Thank you in advance for your help! In case you want to watch it, here's a link to a video of the solver!