Commit fe570731 authored by François Cartegnie's avatar François Cartegnie 🤞

vout: bump SCALE_UNIT to 10000

Because scaling back and forth introduces
rounding errors.

(1920*1000/1080) * 1080 / 1000 != 1920
parent 8380e72e
......@@ -284,7 +284,7 @@ static void SpuRenderText(spu_t *spu, bool *rerender_text,
* A few scale functions helpers.
*/
#define SCALE_UNIT (1000)
#define SCALE_UNIT (10000)
typedef struct {
unsigned w;
unsigned h;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment