X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Ffliptext.c;h=b47bbb83edfd0c204c11c162145142f2a89db7df;hp=58241a686e5517d015ef8194ab9a5db1b61fbefa;hb=5f9c47ca98dd43d8f59b7c27d3fde6edfde4fe21;hpb=50be9bb40dc60130c99ffa568e6677779904ff70 diff --git a/hacks/glx/fliptext.c b/hacks/glx/fliptext.c index 58241a68..b47bbb83 100644 --- a/hacks/glx/fliptext.c +++ b/hacks/glx/fliptext.c @@ -1,5 +1,5 @@ /* - * fliptext, Copyright (c) 2005-2007 Jamie Zawinski + * fliptext, Copyright (c) 2005-2011 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 @@ -914,6 +914,7 @@ init_fliptext (ModeInfo *mi) if ((sc->glx_context = init_GL(mi)) != NULL) { reshape_fliptext (mi, MI_WIDTH(mi), MI_HEIGHT(mi)); + clear_gl_error(); /* WTF? sometimes "invalid op" from glViewport! */ } program = get_string_resource (mi->dpy, "program", "Program");