Friday, July 2, 2010

Hardware gamma evil

It's a common enough story. You've used the brightness slider, something goes bad, the engine crashes, and now you can microwave a cat with the brightness pouring from your monitor.

Well no more. I've installed an exception handling routine that will restore your monitor gamma ramp to a flat level on a crash. Obviously it's better not to crash at all, but in the event that you do, at least it happens a little more gracefully now.

Longer term I intend using this to also allow you to give me useful info about what caused the crash, but for now it's justified it's existence well enough.

0 comments: