X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fpolyhedra-gl.c;h=83e4a38164a19d2f067fd18d21214cd52e1c099e;hp=fe3205fff41311e088b165a249bc0df4818c8674;hb=5f9c47ca98dd43d8f59b7c27d3fde6edfde4fe21;hpb=50be9bb40dc60130c99ffa568e6677779904ff70 diff --git a/hacks/glx/polyhedra-gl.c b/hacks/glx/polyhedra-gl.c index fe3205ff..83e4a381 100644 --- a/hacks/glx/polyhedra-gl.c +++ b/hacks/glx/polyhedra-gl.c @@ -1,4 +1,4 @@ -/* polyhedra, Copyright (c) 2004-2008 Jamie Zawinski +/* polyhedra, Copyright (c) 2004-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 @@ -553,6 +553,7 @@ init_polyhedra (ModeInfo *mi) new_polyhedron (mi); reshape_polyhedra (mi, MI_WIDTH(mi), MI_HEIGHT(mi)); + clear_gl_error(); /* WTF? sometimes "invalid op" from glViewport! */ }