| 2954 | } |
| 2955 | |
| 2956 | void PixelGameEngine::Clear(Pixel p) |
| 2957 | { |
| 2958 | int pixels = GetDrawTargetWidth() * GetDrawTargetHeight(); |
| 2959 | Pixel* m = GetDrawTarget()->GetData(); |
| 2960 | for (int i = 0; i < pixels; i++) m[i] = p; |
| 2961 | } |
| 2962 | |
| 2963 | void PixelGameEngine::ClearBuffer(Pixel p, bool bDepth) |
| 2964 | { |