File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -1880,9 +1880,6 @@ GLObjectsCompiler::compileAsync(
1880
1880
{
1881
1881
// no ICO available - just resolve the future immediately
1882
1882
result.resolve (node);
1883
- // Promise<osg::ref_ptr<osg::Node>> promise;
1884
- // result = promise; // .getFuture();
1885
- // promise.resolve(node);
1886
1883
}
1887
1884
}
1888
1885
@@ -1902,6 +1899,7 @@ GLObjectsCompiler::compileAsync(
1902
1899
1903
1900
// if there is an ICO available, schedule the GPU compilation
1904
1901
bool compileScheduled = false ;
1902
+
1905
1903
if (state != nullptr && !state->empty ())
1906
1904
{
1907
1905
osg::ref_ptr<ICO> ico;
@@ -1922,9 +1920,6 @@ GLObjectsCompiler::compileAsync(
1922
1920
{
1923
1921
// no ICO available - just resolve the future immediately
1924
1922
result.resolve (node);
1925
- // Promise<osg::ref_ptr<osg::Node>> promise;
1926
- // result = promise; // .getFuture();
1927
- // promise.resolve(node);
1928
1923
}
1929
1924
1930
1925
return result;
You can’t perform that action at this time.
0 commit comments