projects
/
dosdemo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
09e214b
)
ommited calling demo_post_draw in the glut backend
author
John Tsiombikas
<nuclear@member.fsf.org>
Tue, 16 Jun 2020 20:51:23 +0000
(23:51 +0300)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Tue, 16 Jun 2020 20:51:23 +0000
(23:51 +0300)
src/glut/main.c
patch
|
blob
|
history
diff --git
a/src/glut/main.c
b/src/glut/main.c
index
0e766bd
..
fb663e6
100644
(file)
--- a/
src/glut/main.c
+++ b/
src/glut/main.c
@@
-232,6
+232,8
@@
void blit_frame(void *pixels, int vsync)
prev_vsync = vsync;
}
prev_vsync = vsync;
}
+ demo_post_draw(pixels);
+
for(i=0; i<FB_WIDTH * FB_HEIGHT; i++) {
int r = UNPACK_R16(*sptr);
int g = UNPACK_G16(*sptr);
for(i=0; i<FB_WIDTH * FB_HEIGHT; i++) {
int r = UNPACK_R16(*sptr);
int g = UNPACK_G16(*sptr);