mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 18:55:46 -04:00
GPU: Tweak rectangle draw times
This commit is contained in:
@ -387,10 +387,7 @@ protected:
|
||||
#endif
|
||||
AddCommandTicks(draw_ticks << (BoolToUInt8(textured)));
|
||||
}
|
||||
ALWAYS_INLINE void AddDrawRectangleTicks(u32 width, u32 height, bool textured)
|
||||
{
|
||||
AddCommandTicks((width * height) << (BoolToUInt8(textured)));
|
||||
}
|
||||
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)); }
|
||||
|
||||
HostDisplay* m_host_display = nullptr;
|
||||
|
Reference in New Issue
Block a user