but this could be an indication of many things.
VGA cable with damaged wire but this wouldn't cause a system freeze.
Though Graphics struggling may or lack of memory required for a task.
ideally we would need to know your computers specification, which Windows ?, amount of memory, CPU, intergrated graphics or a dedicated graphcis card.
It could just be a one off but if its repetative I would start to look more into it.