From 5cc293784efc631cebcbddd045578f4e5074efc9 Mon Sep 17 00:00:00 2001 From: faiface Date: Wed, 15 Mar 2017 13:55:52 +0100 Subject: [PATCH] add IMDraw BasicTarget interface check --- graphics.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/graphics.go b/graphics.go index 0611f5a..e6a93fa 100644 --- a/graphics.go +++ b/graphics.go @@ -78,6 +78,8 @@ type IMDraw struct { tmp []Vec } +var _ BasicTarget = (*IMDraw)(nil) + type point struct { pos Vec col NRGBA