X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=OSX%2FXScreenSaverGLView.m;h=b08313efcdd7ebb12279f14a0074dcfcf724905d;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hp=7ec10090624b18cb61f76bb24c018ffb38c5ab23;hpb=4ade52359b6eba3621566dac79793a33aa4c915f;p=xscreensaver diff --git a/OSX/XScreenSaverGLView.m b/OSX/XScreenSaverGLView.m index 7ec10090..b08313ef 100644 --- a/OSX/XScreenSaverGLView.m +++ b/OSX/XScreenSaverGLView.m @@ -1,13 +1,13 @@ /* xscreensaver, Copyright (c) 2006-2013 Jamie Zawinski -* -* Permission to use, copy, modify, distribute, and sell this software and its -* documentation for any purpose is hereby granted without fee, provided that -* the above copyright notice appear in all copies and that both that -* copyright notice and this permission notice appear in supporting -* documentation. No representations are made about the suitability of this -* software for any purpose. It is provided "as is" without express or -* implied warranty. -*/ + * + * Permission to use, copy, modify, distribute, and sell this software and its + * documentation for any purpose is hereby granted without fee, provided that + * the above copyright notice appear in all copies and that both that + * copyright notice and this permission notice appear in supporting + * documentation. No representations are made about the suitability of this + * software for any purpose. It is provided "as is" without express or + * implied warranty. + */ /* This is a subclass of Apple's ScreenSaverView that knows how to run xscreensaver programs without X11 via the dark magic of the "jwxyz" @@ -415,6 +415,8 @@ init_GL (ModeInfo *mi) check_gl_error ("OES_init"); + jwzgles_reset (); + # endif // USE_IPHONE // Caller expects a pointer to an opaque struct... which it dereferences.