| 2547 | #endif |
| 2548 | |
| 2549 | void PixelGameEngine::SetDrawTarget(Sprite* target) |
| 2550 | { |
| 2551 | if (target) |
| 2552 | { |
| 2553 | pDrawTarget = target; |
| 2554 | } |
| 2555 | else |
| 2556 | { |
| 2557 | nTargetLayer = 0; |
| 2558 | if (!vLayers.empty()) |
| 2559 | pDrawTarget = vLayers[0].pDrawTarget.Sprite(); |
| 2560 | } |
| 2561 | } |
| 2562 | |
| 2563 | void PixelGameEngine::SetDrawTarget(uint8_t layer, bool bDirty) |
| 2564 | { |