| 61 | #ifndef ASPM_GPU |
| 62 | |
| 63 | int CMP_CDECL CreateOptionsBC2(void** options) |
| 64 | { |
| 65 | CMP_BC15Options* BC15optionsDefault = new CMP_BC15Options; |
| 66 | if (BC15optionsDefault) |
| 67 | { |
| 68 | SetDefaultBC15Options(BC15optionsDefault); |
| 69 | (*options) = BC15optionsDefault; |
| 70 | } |
| 71 | else |
| 72 | { |
| 73 | (*options) = NULL; |
| 74 | return CGU_CORE_ERR_NEWMEM; |
| 75 | } |
| 76 | return CGU_CORE_OK; |
| 77 | } |
| 78 | |
| 79 | int CMP_CDECL DestroyOptionsBC2(void* options) |
| 80 | { |