X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_window.c;h=07422f7d8c99a6ef80643484f72af90e10524a3b;hb=e87b7bb08e2cf900f83c22e2feb49489ee464fe9;hp=743b94ff6f1049701be526cf58c165a37167caaf;hpb=e914664550e34587f4b10d3fe52c61fbe6d61771;p=freeglut diff --git a/src/freeglut_window.c b/src/freeglut_window.c index 743b94f..07422f7 100644 --- a/src/freeglut_window.c +++ b/src/freeglut_window.c @@ -610,7 +610,6 @@ int FGAPIENTRY glutCreateSubWindow( int parentID, int x, int y, int w, int h ) parent = fgWindowByID( parentID ); freeglut_return_val_if_fail( parent != NULL, 0 ); window = fgCreateWindow( parent, "", x, y, w, h, GL_FALSE, GL_FALSE ); - window->State.OldHeight = window->State.OldWidth = -1; return window->ID; }