diff --git a/graphics.go b/graphics.go
index 0611f5a3447501787d32e13e13f745c816f7792b..e6a93fa2915c80d1dee86d7eca518c611768e92d 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