Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#198 Reshape function mswin

closed-out-of-date
nobody
critical (31)
7
2013-04-04
2013-03-29
Anonymous
No

1.: In the current SVN trunk the Reshape function on windows is called with wrong parameters.
The correct call should be:
fg_main_mswin.c (513) : INVOKE_WCB( *window, Reshape, ( window->State.Width, window->State.Height ) );
instead of
fg_main_mswin.c (513) : INVOKE_WCB( *window, Reshape, ( width, height ) );
It seems to be mixed up with the temporary comparison sizes instead of the new ones.

2.: I am sure that in previous versions the reshape function has been called between initialisation and first draw. This seems not to happen in current SVN trunk.
This is not that important because you can always call your own Reshape callback before calling glutMainLoop();

Discussion


  • Anonymous
    2013-03-29

    • priority: 5 --> 7
     
    Last edit: Anonymous 2014-01-16
  • There have been big changes to window size/position handling that are committed just now. Please try out the new trunk and see if all is good for you, they should address both problems.

    Do feel free of course to create a new item if something's amiss.

    Best,
    Dee

     
    • status: open --> closed-out-of-date