X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fatunnel.c;h=29eee782af6de99df3e09307f59b3e209cf5c5e7;hb=6f5482d73adb0165c0130bb47d852644ab0c4869;hp=baea0ef85e885c12c88dee670d1a87bcded3b25e;hpb=c1b9b55ad8d59dc05ef55e316aebf5863e7dfa56;p=xscreensaver diff --git a/hacks/glx/atunnel.c b/hacks/glx/atunnel.c index baea0ef8..29eee782 100644 --- a/hacks/glx/atunnel.c +++ b/hacks/glx/atunnel.c @@ -185,7 +185,6 @@ static void Init(ModeInfo * mi) GLfloat light_position[] = {0.0, 0.0, 1.0, 0.0}; GLfloat fogColor[4] = {0.8, 0.8, 0.8, 1.0}; - glClearColor(0, 0, 0, 0); if (do_texture) { glGenTextures(MAX_TEXTURE, sa->texture); @@ -197,7 +196,7 @@ static void Init(ModeInfo * mi) LoadTexture(mi, texture5,5); glEnable(GL_TEXTURE_2D); } - sa->ts = InitTunnel(); + sa->ts = atunnel_InitTunnel(); /* Set lighting parameters */ if (do_light) @@ -271,8 +270,8 @@ ENTRYPOINT void draw_atunnel(ModeInfo * mi) glLoadIdentity(); - DrawTunnel(sa->ts, do_texture, do_light, sa->texture); - SplashScreen(sa->ts, do_wire, do_texture, do_light); + atunnel_DrawTunnel(sa->ts, do_texture, do_light, sa->texture); + atunnel_SplashScreen(sa->ts, do_wire, do_texture, do_light); glFlush(); /* manage framerate display */