From 13b1cf85182642df25c55277db33e571592de8d1 Mon Sep 17 00:00:00 2001 From: Rtch90 Date: Fri, 6 Apr 2018 23:27:22 +0100 Subject: [PATCH] [Fix] Aha! Fixed rendering bug in planet atmosphere! --- src/planet.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/planet.cpp b/src/planet.cpp index c3cf32c..ae4d883 100644 --- a/src/planet.cpp +++ b/src/planet.cpp @@ -800,10 +800,6 @@ static void _DrawAtmosphere(double rad1, double rad2, vector3d& pos, const float r1 = rot*r1; r2 = rot*r2; } - glColor4fv(col); - glVertex3dv(&r1.x); - glColor4f(0,0,0,0); - glVertex3dv(&r2.x); glEnd(); glEnable(GL_CULL_FACE); glDisable(GL_BLEND);