Skip to content

Commit c292ba8

Browse files
Remove debug
1 parent dad7afa commit c292ba8

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Source/MapComponents/MapComponent_RenderManager.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -556,11 +556,6 @@ private IEnumerator DoRendering(bool forceRenderFullMap)
556556

557557
// Start encoding
558558
TryCompleteEncoding();
559-
imageTexture = new Texture2D(imageWidth, imageHeight, TextureFormat.RGB24, false);
560-
Color[] pixels = new Color[imageWidth * imageHeight];
561-
for (int i = 0; i < pixels.Length; i++) pixels[i] = Color.black;
562-
imageTexture.SetPixels(pixels);
563-
imageTexture.Apply();
564559
encodingTask = Task.Run(DoEncoding);
565560
#if DEBUG
566561
Log.Message($"Map {map}: " + "Started encoding task");

0 commit comments

Comments
 (0)