summaryrefslogtreecommitdiff
path: root/drivers/gles2/rasterizer_scene_gles2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gles2/rasterizer_scene_gles2.cpp')
-rw-r--r--drivers/gles2/rasterizer_scene_gles2.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gles2/rasterizer_scene_gles2.cpp b/drivers/gles2/rasterizer_scene_gles2.cpp
index 068b9f5538..c433886545 100644
--- a/drivers/gles2/rasterizer_scene_gles2.cpp
+++ b/drivers/gles2/rasterizer_scene_gles2.cpp
@@ -718,13 +718,6 @@ void RasterizerSceneGLES2::environment_set_sky_orientation(RID p_env, const Basi
env->sky_orientation = p_orientation;
}
-void RasterizerSceneGLES2::environment_set_bg_material(RID p_env, RID p_material) {
- Environment *env = environment_owner.getornull(p_env);
- ERR_FAIL_COND(!env);
-
- env->bg_material = p_material;
-}
-
void RasterizerSceneGLES2::environment_set_bg_color(RID p_env, const Color &p_color) {
Environment *env = environment_owner.getornull(p_env);
ERR_FAIL_COND(!env);