projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clear window workmask when queuing up window for destruction. All callbacks (except...
[freeglut]
/
src
/
fg_structure.c
diff --git
a/src/fg_structure.c
b/src/fg_structure.c
index
4274667
..
0fee95d
100644
(file)
--- a/
src/fg_structure.c
+++ b/
src/fg_structure.c
@@
-182,6
+182,11
@@
void fgAddToWindowDestroyList( SFG_Window* window )
fghClearCallBacks( window );
SET_WCB( *window, Destroy, destroy, destroyData );
}
+
+ /*
+ * Similarly, clear all work set for the window, none of this has to be executed anymore
+ */
+ window->State.WorkMask = 0;
}
/*