chg: improve capture exit
parent
c1673be3fe
commit
f13e6dc4ac
|
@ -392989,7 +392989,7 @@ int window_swap() {
|
|||
if(!stbi_write_png(va("tests/out/%s.png", argv(0)), w, h, 3, rgb, 3 * w) ) {
|
||||
PANIC("!could not write screenshot file `%s`\n", screenshot_file);
|
||||
}
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
|
|
@ -666,7 +666,7 @@ int window_swap() {
|
|||
if(!stbi_write_png(va("tests/out/%s.png", argv(0)), w, h, 3, rgb, 3 * w) ) {
|
||||
PANIC("!could not write screenshot file `%s`\n", screenshot_file);
|
||||
}
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
|
|
@ -27529,7 +27529,7 @@ int window_swap() {
|
|||
if(!stbi_write_png(va("tests/out/%s.png", argv(0)), w, h, 3, rgb, 3 * w) ) {
|
||||
PANIC("!could not write screenshot file `%s`\n", screenshot_file);
|
||||
}
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue