X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fcarousel.c;h=87de390515df7da312da9ed6726909e2543bc005;hp=0c29253547ae9a6ece24e2cad223f69f52dbaebb;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hpb=5f1f12f2a37da634000f96d18d59cc73a8814ef7 diff --git a/hacks/glx/carousel.c b/hacks/glx/carousel.c index 0c292535..87de3905 100644 --- a/hacks/glx/carousel.c +++ b/hacks/glx/carousel.c @@ -496,7 +496,6 @@ loading_msg (ModeInfo *mi, int n) carousel_state *ss = &sss[MI_SCREEN(mi)]; int wire = MI_IS_WIREFRAME(mi); char text[100]; - GLfloat scale; if (wire) return; @@ -509,8 +508,6 @@ loading_msg (ModeInfo *mi, int n) if (ss->loading_sw == 0) /* only do this once, so that the string doesn't move. */ ss->loading_sw = texture_string_width (ss->texfont, text, &ss->loading_sh); - scale = ss->loading_sh / (GLfloat) MI_HEIGHT(mi); - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glMatrixMode(GL_PROJECTION);