projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
the rewrite branch builds, not tested yet
[dosdemo]
/
src
/
dos
/
main.c
diff --git
a/src/dos/main.c
b/src/dos/main.c
index
aed4e8a
..
0f8abf5
100644
(file)
--- a/
src/dos/main.c
+++ b/
src/dos/main.c
@@
-132,7
+132,7
@@
void swap_buffers(void *pixels)
void *next;
drawFps(vmem_back);
void *next;
drawFps(vmem_back);
- if((next = page_flip(opt.vsync ? FLIP_VBLANK_WAIT : FLIP_NOW))) {
+ if((next = page_flip(opt.vsync ? FLIP_VBLANK : FLIP_NOW))) {
assert(next == vmem_back);
vmem_back = vmem_front;
vmem_front = next;
assert(next == vmem_back);
vmem_back = vmem_front;
vmem_front = next;