mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
[sprixel] kill FIXME, make sprixelid_nonce atomic
This commit is contained in:
parent
b0a3c12f9b
commit
9a1499bd02
@ -1,8 +1,8 @@
|
||||
#include "internal.h"
|
||||
#include "visual-details.h"
|
||||
#include <stdatomic.h>
|
||||
|
||||
// FIXME needs be atomic
|
||||
static uint32_t sprixelid_nonce;
|
||||
static atomic_uint_fast32_t sprixelid_nonce;
|
||||
|
||||
void sprixel_debug(FILE* out, const sprixel* s){
|
||||
fprintf(out, "Sprixel %d (%p) %dx%d (%dx%d) @%d/%d state: %d\n",
|
||||
|
Loading…
Reference in New Issue
Block a user