GPU: Remove textured draw time penalty

Fixes missing elements in Bloody Roar 2.
This commit is contained in:
Connor McLaughlin 2020-04-20 12:24:53 +10:00
parent 759c7c52d5
commit badfe6117e
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ protected:
#else
const u32 draw_ticks = ((width + 1) / 2) * height;
#endif
AddCommandTicks(draw_ticks << (BoolToUInt8(textured)));
AddCommandTicks(draw_ticks);
}
ALWAYS_INLINE void AddDrawRectangleTicks(u32 width, u32 height, bool textured) { AddCommandTicks(width * height); }
ALWAYS_INLINE void AddDrawLineTicks(u32 width, u32 height, bool shaded) { AddCommandTicks(std::max(width, height)); }