| 35 | } |
| 36 | |
| 37 | fg_err fg_retain_surface(fg_surface *pOut, fg_surface pIn) |
| 38 | { |
| 39 | try { |
| 40 | ARG_ASSERT(1, (pIn!=0)); |
| 41 | |
| 42 | common::Surface* temp = new common::Surface(getSurface(pIn)); |
| 43 | *pOut = getHandle(temp); |
| 44 | } |
| 45 | CATCHALL |
| 46 | |
| 47 | return FG_ERR_NONE; |
| 48 | } |
| 49 | |
| 50 | fg_err fg_release_surface(fg_surface pSurface) |
| 51 | { |
no test coverage detected