Skip to content
Snippets Groups Projects
Commit 10368f07 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Screw it, if the compiler doesn't optimize it, just use more CPU.

At least the warnings are gone.
parent a9c08cce
No related branches found
No related tags found
No related merge requests found
......@@ -725,10 +725,7 @@ pointy_scale3(uint32_t* src, uint32_t* dest, int width, int height)
}
static
#ifndef _MSC_VER
__attribute__((always_inline))
#endif
inline uint32_t blend(const uint32_t c1, const uint32_t c2, const double weight)
uint32_t blend(const uint32_t c1, const uint32_t c2, const double weight)
{
uint8_t yuv1[4];
uint8_t yuv2[4];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment