diff options
Diffstat (limited to 'hacks/glx/superquadrics.c')
-rw-r--r-- | hacks/glx/superquadrics.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/hacks/glx/superquadrics.c b/hacks/glx/superquadrics.c index 3c08335..69dc920 100644 --- a/hacks/glx/superquadrics.c +++ b/hacks/glx/superquadrics.c @@ -78,7 +78,6 @@ static const char sccsid[] = "@(#)superquadrics.c 4.07 97/11/24 xlockmore"; "*wireframe: False \n" \ "*suppressRotationAnimation: True\n" \ -# define free_superquadrics 0 # define release_superquadrics 0 # define superquadrics_handle_event 0 # include "xlockmore.h" /* from the xscreensaver distribution */ @@ -776,7 +775,7 @@ draw_superquadrics(ModeInfo * mi) if (!sp->glx_context) return; - glXMakeCurrent(display, window, *(sp->glx_context)); + glXMakeCurrent(display, window, *sp->glx_context); mi->polygon_count = NextSuperquadricDisplay(mi); @@ -800,6 +799,12 @@ reshape_superquadrics(ModeInfo * mi, int width, int height) } +ENTRYPOINT void +free_superquadrics(ModeInfo * mi) +{ + /* nothing to do */ +} + #endif /* End of superquadrics.c */ |