Przeglądaj źródła

Do not destroy non-existent uniforms

Daniele Bartolini 12 lat temu
rodzic
commit
afce72ad50
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      engine/RenderWorld.cpp

+ 0 - 2
engine/RenderWorld.cpp

@@ -115,8 +115,6 @@ RenderWorld::~RenderWorld()
 	r->destroy_gpu_program(default_program);
 	r->destroy_gpu_program(texture_program);
 	r->destroy_uniform(u_albedo_0);
-	r->destroy_uniform(u_lightmap_0);
-	r->destroy_uniform(u_brightness);
 }
 
 //-----------------------------------------------------------------------------