mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-05 02:20:11 -05:00
Removing more warnings
This commit is contained in:
@@ -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)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user