Commit 7b62d632 authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau

reload of images only require to redraw

parent a44e1721
...@@ -139,7 +139,7 @@ NSString* srcResource (id res) ...@@ -139,7 +139,7 @@ NSString* srcResource (id res)
} }
if (image == nil) { if (image == nil) {
image = [[GLImage alloc] initWithBridge:_bridge withOnLoad:^{ image = [[GLImage alloc] initWithBridge:_bridge withOnLoad:^{
[self requestSyncData]; [self setNeedsDisplay];
}]; }];
image.src = src; image.src = src;
images[src] = image; images[src] = image;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment