Removing more warnings

This commit is contained in:
Alexander Bock
2017-07-17 18:03:37 -04:00
parent 7cfa358f04
commit 7737b082d9
42 changed files with 265 additions and 162 deletions
@@ -31,7 +31,7 @@ namespace ghoul::opengl { class ProgramObject; }
namespace openspace::globebrowsing {
struct LayerAdjustment;
class LayerAdjustment;
class GPULayerAdjustment{
public:
@@ -51,7 +51,12 @@ void GPULayerManager::bind(ghoul::opengl::ProgramObject* programObject,
for (size_t i = 0; i < layerGroups.size(); ++i) {
const std::string& nameBase = layergroupid::LAYER_GROUP_NAMES[i];
_gpuLayerGroups[i]->bind(programObject, *layerGroups[i], nameBase, i);
_gpuLayerGroups[i]->bind(
programObject,
*layerGroups[i],
nameBase,
static_cast<int>(i)
);
}
}