shithub: cstory

Download patch

ref: 49027c4ab789f2ed367bf6b16e5cc8a9f019e40f
parent: c478cf242bc7eee1ce455dcf0ee74cb3705fcef6
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Oct 10 16:40:57 EDT 2020

Minor comment cleanup

--- a/src/Backends/Rendering/WiiU.cpp
+++ b/src/Backends/Rendering/WiiU.cpp
@@ -225,12 +225,12 @@
 		vertex_buffer_slot->vertices[3].position.x = vertex_left;
 		vertex_buffer_slot->vertices[3].position.y = vertex_bottom;
 
+		// Set texture coordinate buffer
 		const float texture_left = source_rect->left;
 		const float texture_top = source_rect->top;
 		const float texture_right = source_rect->right;
 		const float texture_bottom = source_rect->bottom;
 
-		// Set texture coordinate buffer
 		vertex_buffer_slot->vertices[0].texture.x = texture_left;
 		vertex_buffer_slot->vertices[0].texture.y = texture_top;
 		vertex_buffer_slot->vertices[1].texture.x = texture_right;
@@ -894,12 +894,12 @@
 		vertex_buffer_slot->vertices[3].position.x = vertex_left;
 		vertex_buffer_slot->vertices[3].position.y = vertex_bottom;
 
+		// Set texture coordinate buffer
 		const float texture_left = glyph_x;
 		const float texture_top = glyph_y;
 		const float texture_right = glyph_x + glyph_width;
 		const float texture_bottom = glyph_y + glyph_height;
 
-		// Set texture coordinate buffer
 		vertex_buffer_slot->vertices[0].texture.x = texture_left;
 		vertex_buffer_slot->vertices[0].texture.y = texture_top;
 		vertex_buffer_slot->vertices[1].texture.x = texture_right;