| 105 | } |
| 106 | |
| 107 | static |
| 108 | void copyToGLBuffer(GfxHandle* pGLDestination, ComputeResourceHandle pSource, const size_t pSize) |
| 109 | { |
| 110 | GfxHandle* temp = pGLDestination; |
| 111 | |
| 112 | if (temp->mTarget==FORGE_IMAGE_BUFFER) { |
| 113 | fg_update_pixel_buffer(temp->mId, pSize, pSource); |
| 114 | } else if (temp->mTarget==FORGE_VERTEX_BUFFER) { |
| 115 | fg_update_vertex_buffer(temp->mId, pSize, pSource); |
| 116 | } |
| 117 | } |
| 118 | #endif |
| 119 | |
| 120 | /////////////////////////////////////////////////////////////////////////////// |
no test coverage detected