Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c1db302
)
fixed bug where screen wasn't redrawn when paused and toggling fullscreen mode
author
Jason Woofenden
<jason283@herkamire.com>
Sun, 26 Apr 2009 19:38:48 +0000
(15:38 -0400)
committer
Jason Woofenden
<jason283@herkamire.com>
Sun, 26 Apr 2009 19:57:55 +0000
(15:57 -0400)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
2bf7715
..
a2d2e93
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-68,6
+68,8
@@
struct dot {
int heat; // heat multiplier (color).
};
+void draw(void);
+
struct dot edot[MAXENGINEDOTS], *dotptr = edot;
struct dot bdot[MAXBANGDOTS];
@@
-362,6
+364,9
@@
void
toggle_fullscreen() {
opt_fullscreen = 1 - opt_fullscreen;
set_video_mode();
+ if(paused) {
+ draw();
+ }
}