mirror of https://github.com/BOINC/boinc.git
graphics API: Write changed window size only after it has stopped changing
svn path=/trunk/boinc/; revision=13714
This commit is contained in:
parent
71255d3194
commit
07d83c89b7
|
@ -103,7 +103,7 @@ static void maybe_render() {
|
|||
width = new_width;
|
||||
height = new_height;
|
||||
} else {
|
||||
if (++size_changed > 10) {
|
||||
if (size_changed && (++size_changed > 10)) {
|
||||
size_changed = 0;
|
||||
FILE *f = boinc_fopen("gfx_info", "w");
|
||||
if (f) {
|
||||
|
|
Loading…
Reference in New Issue