code formatting
This commit is contained in:
parent
8bcc5f55e3
commit
f0a356b977
|
|
@ -83,7 +83,8 @@ int main(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skip top row, it is already cleared
|
// Skip top row, it is already cleared
|
||||||
for (int y = 1; y < imageHeight; ++y){
|
for (int y = 1; y < imageHeight; ++y)
|
||||||
|
{
|
||||||
for (int x = 0; x < imageWidth; ++x)
|
for (int x = 0; x < imageWidth; ++x)
|
||||||
{
|
{
|
||||||
unsigned i = x + y * imageWidth;
|
unsigned i = x + y * imageWidth;
|
||||||
|
|
@ -104,7 +105,8 @@ int main(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update screenImage with palette colors
|
// Update screenImage with palette colors
|
||||||
for (int y = 1; y < imageHeight; ++y){
|
for (int y = 1; y < imageHeight; ++y)
|
||||||
|
{
|
||||||
for (int x = 0; x < imageWidth; ++x)
|
for (int x = 0; x < imageWidth; ++x)
|
||||||
{
|
{
|
||||||
unsigned i = x + y * imageWidth;
|
unsigned i = x + y * imageWidth;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user