| 161 | #ifndef ASPM_GPU |
| 162 | |
| 163 | int CMP_CDECL CreateOptionsBC4(void** options) |
| 164 | { |
| 165 | CMP_BC15Options* BC15optionsDefault = new CMP_BC15Options; |
| 166 | if (BC15optionsDefault) |
| 167 | { |
| 168 | SetDefaultBC15Options(BC15optionsDefault); |
| 169 | (*options) = BC15optionsDefault; |
| 170 | } |
| 171 | else |
| 172 | { |
| 173 | (*options) = NULL; |
| 174 | return CGU_CORE_ERR_NEWMEM; |
| 175 | } |
| 176 | return CGU_CORE_OK; |
| 177 | } |
| 178 | |
| 179 | int CMP_CDECL DestroyOptionsBC4(void* options) |
| 180 | { |