mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-06-21 13:22:40 +02:00
Bugfix
This commit is contained in:
parent
227c2f7cea
commit
182d5b407f
@ -40,7 +40,7 @@ int main(int argc, char **argv)
|
|||||||
//Set framebuf to different shades of grey.
|
//Set framebuf to different shades of grey.
|
||||||
u32 x, y;
|
u32 x, y;
|
||||||
for (x=0; x<width; x++)
|
for (x=0; x<width; x++)
|
||||||
for (y=0; y<width; y++)
|
for (y=0; y<height; y++)
|
||||||
framebuf[gfxGetFramebufferDisplayOffset(x, y)] = 0x01010101 * cnt * 4;
|
framebuf[gfxGetFramebufferDisplayOffset(x, y)] = 0x01010101 * cnt * 4;
|
||||||
|
|
||||||
gfxFlushBuffers();
|
gfxFlushBuffers();
|
||||||
|
Loading…
Reference in New Issue
Block a user