Commit 2495cadc authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau

Fix the color of the preloading state

parent 84261f28
......@@ -270,7 +270,11 @@ NSString* srcResource (id res)
- (void)drawRect:(CGRect)rect
{
if (!_preloadingDone) return;
if (!_preloadingDone) {
glClearColor(0.0, 0.0, 0.0, 0.0);
glClear(GL_COLOR_BUFFER_BIT);
return;
}
BOOL needsDeferredRendering = _nbContentTextures > 0;
if (needsDeferredRendering && !_deferredRendering) {
dispatch_async(dispatch_get_main_queue(), ^{
......
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