diff --git a/libc3/window/sdl2/demo/earth.c b/libc3/window/sdl2/demo/earth.c
index 578f6c4..7e173d3 100644
--- a/libc3/window/sdl2/demo/earth.c
+++ b/libc3/window/sdl2/demo/earth.c
@@ -115,5 +115,8 @@ bool earth_render (s_sequence *seq, s_window_sdl2 *window,
gl_sphere_render_wireframe(sphere);
*/
glPopMatrix();
+ glDisable(GL_TEXTURE_2D);
+ glDisable(GL_LIGHT0);
+ glDisable(GL_LIGHTING);
return true;
}