shithub: cstory

Download patch

ref: 17911753a6d21d11a47c813c3505d3016010ff6f
parent: 53e19517a6f69db8583083d819e3ad25e9ed0895
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Nov 3 16:47:07 EST 2020

3DS: Fix 'Studio Pixel presents' text

It must have something to do with BeginRendering and EndRendering
being spammed multiple times in a frame.

--- a/src/Backends/Rendering/3DS.cpp
+++ b/src/Backends/Rendering/3DS.cpp
@@ -425,8 +425,10 @@
 
 void RenderBackend_UploadGlyph(RenderBackend_GlyphAtlas *atlas, size_t x, size_t y, const unsigned char *pixels, size_t width, size_t height, size_t pitch)
 {
-	// If we upload while drawing, we get corruption (visible after stage transitions)
-	EndRendering();
+	// This might be needed, but right now it actually *causes*
+	// corruption rather than prevent it, so it's been disabled
+	// (it causes the 'Studio Pixel presents' text to appear incomplete).
+//	EndRendering();
 
 	for (size_t h = 0; h < height; ++h)
 	{