Explorar o código

Remove unused variable after aab8f44

Rémi Verschelde %!s(int64=6) %!d(string=hai) anos
pai
achega
513b7ddab6
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      drivers/gles2/rasterizer_storage_gles2.cpp

+ 0 - 3
drivers/gles2/rasterizer_storage_gles2.cpp

@@ -4279,9 +4279,6 @@ void RasterizerStorageGLES2::_render_target_allocate(RenderTarget *rt) {
 	// copy texscreen buffers
 	if (!(rt->flags[RasterizerStorage::RENDER_TARGET_NO_SAMPLING])) {
 
-		int w = rt->width;
-		int h = rt->height;
-
 		glGenTextures(1, &rt->copy_screen_effect.color);
 		glBindTexture(GL_TEXTURE_2D, rt->copy_screen_effect.color);