| 3440 | //======================= CPU USER INTERFACES ==================================== |
| 3441 | |
| 3442 | int CMP_CDECL CreateOptionsBC7(void** options) |
| 3443 | { |
| 3444 | (*options) = new BC7_Encode; |
| 3445 | if (!options) |
| 3446 | return CGU_CORE_ERR_NEWMEM; |
| 3447 | init_BC7ramps(); |
| 3448 | SetDefaultBC7Options((BC7_Encode*)(*options)); |
| 3449 | return CGU_CORE_OK; |
| 3450 | } |
| 3451 | |
| 3452 | int CMP_CDECL DestroyOptionsBC7(void* options) |
| 3453 | { |