projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moving all the X11-specific "fgDisplay" structure fields into their substructure...
[freeglut]
/
src
/
Common
/
freeglut_main.c
diff --git
a/src/Common/freeglut_main.c
b/src/Common/freeglut_main.c
index
b3bd7ee
..
66281ea
100644
(file)
--- a/
src/Common/freeglut_main.c
+++ b/
src/Common/freeglut_main.c
@@
-1001,13
+1001,13
@@
void fgPlatformProcessSingleEvent ( void )
height = event.xconfigure.height;
\r
}
\r
\r
height = event.xconfigure.height;
\r
}
\r
\r
- if( ( width != window->State.OldWidth ) ||
\r
- ( height != window->State.OldHeight ) )
\r
+ if( ( width != window->State.pWState.OldWidth ) ||
\r
+ ( height != window->State.pWState.OldHeight ) )
\r
{
\r
SFG_Window *current_window = fgStructure.CurrentWindow;
\r
\r
{
\r
SFG_Window *current_window = fgStructure.CurrentWindow;
\r
\r
- window->State.OldWidth = width;
\r
- window->State.OldHeight = height;
\r
+ window->State.pWState.OldWidth = width;
\r
+ window->State.pWState.OldHeight = height;
\r
if( FETCH_WCB( *window, Reshape ) )
\r
INVOKE_WCB( *window, Reshape, ( width, height ) );
\r
else
\r
if( FETCH_WCB( *window, Reshape ) )
\r
INVOKE_WCB( *window, Reshape, ( width, height ) );
\r
else
\r