mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 04:58:59 -05:00
Fix compilation warnings.
This commit is contained in:
@@ -35,11 +35,6 @@ namespace {
|
||||
|
||||
LayerAdjustment::LayerAdjustment()
|
||||
: properties::PropertyOwner("adjustment")
|
||||
, _typeOption(
|
||||
"type",
|
||||
"Type",
|
||||
properties::OptionProperty::DisplayType::Dropdown
|
||||
)
|
||||
, chromaKeyColor(
|
||||
"chromaKeyColor",
|
||||
"Chroma key color",
|
||||
@@ -54,6 +49,11 @@ LayerAdjustment::LayerAdjustment()
|
||||
0,
|
||||
1
|
||||
)
|
||||
, _typeOption(
|
||||
"type",
|
||||
"Type",
|
||||
properties::OptionProperty::DisplayType::Dropdown
|
||||
)
|
||||
, _onChangeCallback([](){})
|
||||
{
|
||||
// Add options to option properties
|
||||
|
||||
@@ -149,6 +149,9 @@ TileTextureInitData LayerManager::getTileTextureInitData(layergroupid::GroupID i
|
||||
}
|
||||
default: {
|
||||
ghoul_assert(false, "Unknown layer group ID");
|
||||
size_t tileSize = preferredTileSize ? preferredTileSize : 512;
|
||||
return TileTextureInitData(tileSize, tileSize, GL_UNSIGNED_BYTE,
|
||||
ghoul::opengl::Texture::Format::BGRA);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user