From 7b62d632b8b450f06c7bfc10919ab1c6b5f02c05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Wed, 26 Aug 2015 21:51:54 +0200 Subject: [PATCH] reload of images only require to redraw --- RNGL/GLCanvas.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNGL/GLCanvas.m b/RNGL/GLCanvas.m index 106eaa2..6feff6c 100644 --- a/RNGL/GLCanvas.m +++ b/RNGL/GLCanvas.m @@ -139,7 +139,7 @@ NSString* srcResource (id res) } if (image == nil) { image = [[GLImage alloc] initWithBridge:_bridge withOnLoad:^{ - [self requestSyncData]; + [self setNeedsDisplay]; }]; image.src = src; images[src] = image; -- 2.26.2