X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fatlantis.c;h=5c37d8603b158b15428cdef5dcda8cbd06d28548;hp=9f07ddbd17b9a5c0df25b241417a2e106cdee280;hb=a1d41b2aa6e18bf9a49b914a99dda8232c5d7762;hpb=3c58fb6311db49c46f1670922933b27c6ea0c065 diff --git a/hacks/glx/atlantis.c b/hacks/glx/atlantis.c index 9f07ddbd..5c37d860 100644 --- a/hacks/glx/atlantis.c +++ b/hacks/glx/atlantis.c @@ -340,6 +340,17 @@ reshape_atlantis(ModeInfo * mi, int width, int height) } +/* jwz -- this doesn't really work very well. + + All I want to do is give the tank a gradient-filled background, instead + of just solid blue. The following was my guess as to how to do this, + but it kills my frame rate. I guess there's a more efficient way to do + this, but I don't see it... + + I mean, all I want to do is dump some non-projected bytes into the color + buffer, then zero out the depth buffer. That *can't* be expensive, can + it? + */ static void clear_tank (atlantisstruct * ap) {