------------------------------------------------------------------------------- Save the checker pattern colors to the registry -------------------------------------------------------------------------------
| 175 | // Save the checker pattern colors to the registry |
| 176 | //------------------------------------------------------------------------------- |
| 177 | void SaveCheckerPatternColors() { |
| 178 | // we have it as float4. save it as binary value --. |
| 179 | RegSetValueExA(g_hRegistry,"CheckerPattern0",0,REG_BINARY, |
| 180 | (const BYTE*)CDisplay::Instance().GetFirstCheckerColor(), |
| 181 | sizeof(D3DXVECTOR3)); |
| 182 | |
| 183 | RegSetValueExA(g_hRegistry,"CheckerPattern1",0,REG_BINARY, |
| 184 | (const BYTE*)CDisplay::Instance().GetSecondCheckerColor(), |
| 185 | sizeof(D3DXVECTOR3)); |
| 186 | } |
| 187 | |
| 188 | //------------------------------------------------------------------------------- |
| 189 | // Load the checker pattern colors from the registry |
no test coverage detected