|
|
@ -160,7 +160,7 @@ |
|
|
|
// called once per frame, draws random coloured pixels
|
|
|
|
// called once per frame, draws random coloured pixels
|
|
|
|
for (int x = 0; x < ScreenWidth(); x++) |
|
|
|
for (int x = 0; x < ScreenWidth(); x++) |
|
|
|
for (int y = 0; y < ScreenHeight(); y++) |
|
|
|
for (int y = 0; y < ScreenHeight(); y++) |
|
|
|
Draw(x, y, olc::Pixel(rand() % 255, rand() % 255, rand()% 255)); |
|
|
|
Draw(x, y, olc::Pixel(rand() % 256, rand() % 256, rand() % 256)); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|