shithub: cstory

Download patch

ref: 9c24ab93380f6c2acb4219d422cdf81ddae7684f
parent: 87652c50f5626b1891af89cc713cac6181796c6d
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Oct 13 17:30:53 EDT 2020

3DS - Remove attributes

Leftover from the software renderer

--- a/src/Backends/Rendering/3DS.cpp
+++ b/src/Backends/Rendering/3DS.cpp
@@ -9,7 +9,6 @@
 #include <citro2d.h>
 
 #include "../Misc.h"
-#include "../../Attributes.h"
 
 #define MIN(a, b) ((a) < (b) ? (a) : (b))
 #define MAX(a, b) ((a) > (b) ? (a) : (b))
@@ -286,7 +285,7 @@
 	}
 }
 
-ATTRIBUTE_HOT void RenderBackend_Blit(RenderBackend_Surface *source_surface, const RenderBackend_Rect *rect, RenderBackend_Surface *destination_surface, long x, long y, bool colour_key)
+void RenderBackend_Blit(RenderBackend_Surface *source_surface, const RenderBackend_Rect *rect, RenderBackend_Surface *destination_surface, long x, long y, bool colour_key)
 {
 	EnableAlpha(colour_key);
 
@@ -318,7 +317,7 @@
 	C2D_DrawImageAt(image, x, y, 0.5f, NULL, 1.0f, 1.0f);
 }
 
-ATTRIBUTE_HOT void RenderBackend_ColourFill(RenderBackend_Surface *surface, const RenderBackend_Rect *rect, unsigned char red, unsigned char green, unsigned char blue)
+void RenderBackend_ColourFill(RenderBackend_Surface *surface, const RenderBackend_Rect *rect, unsigned char red, unsigned char green, unsigned char blue)
 {
 	EnableAlpha(false);