From 676390c58c6367bcfeda901456d637939645b78e Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Tue, 12 Sep 2017 21:23:09 +0900 Subject: pacc: d3d9: fix unicode function --- pacc/pacc-gl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pacc/pacc-gl.c') diff --git a/pacc/pacc-gl.c b/pacc/pacc-gl.c index 71435de..e1463b8 100644 --- a/pacc/pacc-gl.c +++ b/pacc/pacc-gl.c @@ -246,6 +246,7 @@ static void pacc_calc_off( static void pacc_buf_rect_off( const struct pacc_ctx *pc, struct pacc_buf *pb, int x, int y, int w, int h, int xoff, int yoff) { + if (!w && !h) return; float scale[2]; float off[2]; float tscale[2]; -- cgit v1.2.3