| 3450 | } |
| 3451 | |
| 3452 | int CMP_CDECL DestroyOptionsBC7(void* options) |
| 3453 | { |
| 3454 | if (!options) |
| 3455 | return CGU_CORE_ERR_INVALIDPTR; |
| 3456 | BC7_Encode* BCOptions = reinterpret_cast<BC7_Encode*>(options); |
| 3457 | delete BCOptions; |
| 3458 | return CGU_CORE_OK; |
| 3459 | } |
| 3460 | |
| 3461 | int CMP_CDECL SetErrorThresholdBC7(void* options, CGU_FLOAT minThreshold, CGU_FLOAT maxThreshold) |
| 3462 | { |