3DS: Fix 'Studio Pixel presents' text

It must have something to do with BeginRendering and EndRendering
being spammed multiple times in a frame.
This commit is contained in:
Clownacy 2020-11-03 21:47:07 +00:00
parent 53e19517a6
commit 17911753a6

View file

@ -425,8 +425,10 @@ void RenderBackend_DestroyGlyphAtlas(RenderBackend_GlyphAtlas *atlas)
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) 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) // This might be needed, but right now it actually *causes*
EndRendering(); // 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) for (size_t h = 0; h < height; ++h)
{ {