| 1276 | } |
| 1277 | |
| 1278 | void TriDevice::SetThrottling( ThrottlingReason reason, bool on ) |
| 1279 | { |
| 1280 | if( on ) |
| 1281 | { |
| 1282 | m_throttlingState |= reason; |
| 1283 | } |
| 1284 | else |
| 1285 | { |
| 1286 | m_throttlingState &= ~reason; |
| 1287 | } |
| 1288 | } |
| 1289 | |
| 1290 | bool TriDevice::GetThrottling( ThrottlingReason reason ) const |
| 1291 | { |