shithub: cstory

Download patch

ref: c7cd67c4104afd84b5e6fc2f6bf7206e78fc3240
parent: 858fd0beb9f5ab48a388e33a3f8337ff3293b411
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Oct 3 12:11:58 EDT 2020

Remove another useless variable

--- a/src/Backends/Rendering/WiiU.cpp
+++ b/src/Backends/Rendering/WiiU.cpp
@@ -71,8 +71,6 @@
 
 static GX2ContextState *gx2_context;
 
-static RenderBackend_GlyphAtlas *glyph_atlas;
-
 static VertexBufferSlot *local_vertex_buffer;
 static size_t local_vertex_buffer_size;
 static size_t current_vertex_buffer_slot;
@@ -744,8 +742,6 @@
 	static unsigned char last_red;
 	static unsigned char last_green;
 	static unsigned char last_blue;
-
-	glyph_atlas = atlas;
 
 	// Flush vertex data if a context-change is needed
 	if (last_render_mode != MODE_DRAW_GLYPH || last_destination_texture != &destination_surface->texture || last_source_texture != &atlas->texture || last_red != red || last_green != green || last_blue != blue)