diff --git a/examples/Example.h b/examples/Example.h index a88559c0..d1f0d681 100644 --- a/examples/Example.h +++ b/examples/Example.h @@ -440,6 +440,11 @@ struct WgWindow : Window //Set the canvas target and draw on it. verify(canvas->target(instance, surface, width, height)); } + + void refresh() override + { + wgpuSurfacePresent(surface); + } }; #else