| 88 | #if defined(USE_FORGE_CPU_COPY_HELPERS) |
| 89 | |
| 90 | static |
| 91 | void createGLBuffer(GfxHandle** pOut, const unsigned pResourceId, const BufferType pTarget) |
| 92 | { |
| 93 | GfxHandle* temp = (GfxHandle*)malloc(sizeof(GfxHandle)); |
| 94 | |
| 95 | temp->mId = pResourceId; |
| 96 | temp->mTarget = pTarget; |
| 97 | |
| 98 | *pOut = temp; |
| 99 | } |
| 100 | |
| 101 | static |
| 102 | void releaseGLBuffer(GfxHandle* pHandle) |
no test coverage detected