| 194 | } |
| 195 | |
| 196 | void* Canvas::lock(TextureUsage _usage) |
| 197 | { |
| 198 | void* data = mTexture->lock(_usage); |
| 199 | |
| 200 | mTexData = reinterpret_cast<uint8*>(data); |
| 201 | |
| 202 | return data; |
| 203 | } |
| 204 | |
| 205 | void Canvas::unlock() |
| 206 | { |
no outgoing calls
no test coverage detected