Texture implementation basics
This commit is contained in:
@@ -127,7 +127,7 @@ namespace OpenVulkano::Scene
|
||||
{
|
||||
CheckShaderInitState();
|
||||
if (setId < 0) setId = static_cast<int>(descriptorSets.size() + 2);
|
||||
if (setId < 2) throw std::runtime_error("Cant bind set id 0 or 1!");
|
||||
if (setId < 2) throw std::runtime_error("Cant bind set id 0 or 1! They are used for node and camera!");
|
||||
setId -= 2;
|
||||
while (setId >= static_cast<int>(descriptorSets.size()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user