X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffg_callbacks.c;h=e60ea662d4f4b6143b6f5afca0d9f4fd7aa7ac6e;hb=e5f1f71e1417e64b104f9a82987665a75b7a9585;hp=01b256e9a21f547c5e1a36b67b8cbe41f3946a77;hpb=77ee35c8d522dddac4e2c88e8de166491d4d762c;p=freeglut diff --git a/src/fg_callbacks.c b/src/fg_callbacks.c index 01b256e..e60ea66 100644 --- a/src/fg_callbacks.c +++ b/src/fg_callbacks.c @@ -165,6 +165,13 @@ void FGAPIENTRY glutDisplayFunc( FGCBDisplay callback ) /* * Sets the Visibility callback for the current window. + * NB: the Visibility func is deprecated in favor of the WindowStatus func, + * which provides more detail. The visibility func callback is implemented + * as a translation step from the windowStatus func. When the user sets the + * windowStatus func, any visibility func is overwritten. + * DEVELOPER NOTE: in the library, only invoke the window status func, this + * gets automatically translated to the visibility func if thats what the + * user has set. */ static void fghVisibility( int status ) {