GPU: Remove textured draw time penalty
Fixes missing elements in Bloody Roar 2.
This commit is contained in:
parent
759c7c52d5
commit
badfe6117e
|
@ -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)); }
|
||||
|
|
Loading…
Reference in New Issue