Windows. Everything now is implemented in Windows. ;-) (Okay, just the drawing stuff. And defnititely nothing by Microsoft.)
This commit is contained in:
@ -18,9 +18,9 @@ void SingleDynamicEffect::loop() {
|
||||
}
|
||||
|
||||
void SingleDynamicEffect::draw() {
|
||||
for (int x=0; x<window.w; x++) for (int y=0; y<window.h; y++) {
|
||||
int index = y/2 * window.w/2 + x/2;
|
||||
setPixel(window, x, y, tiles[index]);
|
||||
for (int x=0; x<window->width; x++) for (int y=0; y<window->height; y++) {
|
||||
int index = y/2 * window->width/2 + x/2;
|
||||
window->setPixel(x, y, &tiles[index]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user