X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fb_lockglue.c;fp=hacks%2Fglx%2Fb_lockglue.c;h=1bb1e67979240ade1a3421ec6fbad7d82d0eaf8a;hp=cdc829e1b476a5927757e872e0a115ae3ce29c9c;hb=78add6e627ee5f10e1fa6f3852602ea5066eee5a;hpb=39809ded547bdbb08207d3e514950425215b4410 diff --git a/hacks/glx/b_lockglue.c b/hacks/glx/b_lockglue.c index cdc829e1..1bb1e679 100644 --- a/hacks/glx/b_lockglue.c +++ b/hacks/glx/b_lockglue.c @@ -141,11 +141,9 @@ ENTRYPOINT void reshape_bubble3d(ModeInfo *mi, int width, int height) { double h = (GLfloat) height / (GLfloat) width; - int y = 0; if (width > height * 5) { /* tiny window: show middle */ height = width * 9/16; - y = -height/2; h = height / (GLfloat) width; } glViewport(0, 0, width, height);