History

Factored out bits common to resource caches, added global limit on number of resources being requested at any one time.

Andrzej Kapolka committed 12 years ago

Commit 29f79541 parent e91d47110 files · +389 −296Browse files

Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 10 files). Show all

Unified · Split

interface/src/MetavoxelSystem.cpp+0−3
@@ -35,9 +35,6 @@ void MetavoxelSystem::init() { · 34 unmodified lines
35 _program.link();35 _program.link();
36 36
37 _pointScaleLocation = _program.uniformLocation("pointScale");37 _pointScaleLocation = _program.uniformLocation("pointScale");
38
39 // let the script cache know to use our common access manager
40 ScriptCache::getInstance()->setNetworkAccessManager(Application::getInstance()->getNetworkAccessManager());
41 }38 }
42 _buffer.setUsagePattern(QOpenGLBuffer::DynamicDraw);39 _buffer.setUsagePattern(QOpenGLBuffer::DynamicDraw);
43 _buffer.create();40 _buffer.create();