summaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-05-23 21:08:55 +0000
committerrodri <rgl@antares-labs.eu>2024-05-23 21:08:55 +0000
commit7739f20ce8608c0613552e430f31008705050bf1 (patch)
treecb636ae88fa0fe9fedabcb841215d597838de3e7 /graphics.h
parente2e203e6fa64a9e57c8d4ba4cea4deec89d8f0c1 (diff)
downloadlibgraphics-7739f20ce8608c0613552e430f31008705050bf1.tar.gz
libgraphics-7739f20ce8608c0613552e430f31008705050bf1.tar.bz2
libgraphics-7739f20ce8608c0613552e430f31008705050bf1.zip
replace the Framebufctl's Lock with a QLock.
this provides fair scheduling, minimizing contention.
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics.h b/graphics.h
index 1158bef..90a79dd 100644
--- a/graphics.h
+++ b/graphics.h
@@ -217,7 +217,7 @@ struct Framebuf
struct Framebufctl
{
- Lock;
+ QLock;
Framebuf *fb[2]; /* double buffering */
uint idx; /* front buffer index */