diff options
author | Simon Rettberg | 2019-07-30 16:03:58 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-07-30 16:03:58 +0200 |
commit | 6a32252403781b303d4ebd195932ce39c5b1c08e (patch) | |
tree | cd2f8b3c4052c1b575caf33c9983ae531fad9092 /hacks/glx/esper.c | |
parent | Remove android and OSX files (diff) | |
download | xscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.tar.gz xscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.tar.xz xscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.zip |
Update to 5.43
Diffstat (limited to 'hacks/glx/esper.c')
-rw-r--r-- | hacks/glx/esper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hacks/glx/esper.c b/hacks/glx/esper.c index e7d85a9..90887a8 100644 --- a/hacks/glx/esper.c +++ b/hacks/glx/esper.c @@ -210,7 +210,7 @@ typedef enum { MANUAL_RETICLE_ON, MANUAL_RETICLE, MANUAL_BOX_ON, - MANUAL_BOX, + MANUAL_BOX } anim_state; typedef enum { NEW, IN, FULL, OUT, DEAD } sprite_state; @@ -1185,13 +1185,13 @@ static void draw_flash_sprite (ModeInfo *mi, sprite *sp) { /* esper_state *ss = &sss[MI_SCREEN(mi)]; */ + int wire = MI_IS_WIREFRAME(mi); GLfloat o = sp->opacity; if (o <= 0) return; o = 0.7; /* Too fast to see, so keep it consistent */ glPushMatrix(); - int wire = MI_IS_WIREFRAME(mi); if (!wire) glDisable (GL_TEXTURE_2D); glColor4f (0, 0, 1, o); |