-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
On Mac OS 12.5.1 (on Apple silicon), modifying the minimal white noise example to the following:
// main.c
#include "fenster.h"
#define W 320
#define H 240
int main() {
uint32_t buf[W * H];
struct fenster f = { .title = "hello", .width = W, .height = H, .buf = buf };
fenster_open(&f);
while (fenster_loop(&f) == 0) {
for (int i = 0; i < W; i++) {
for (int j = 0; j < H; j++) {
fenster_pixel(&f, i, j) = rand();
}
}
}
printf("here\n");
fenster_close(&f);
return 0;
}
Does not print "here" when the window is closed. This is the output of cc -v:
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin21.6.0
Thread model: posix
Compiled with the recommended command line.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels