Fix minor stuff
This commit is contained in:
@@ -21,7 +21,6 @@ namespace Nz
|
||||
|
||||
m_shaderBinding = settings->GetRenderPipelineLayout()->AllocateShaderBinding();
|
||||
|
||||
// TODO: Use StackVector
|
||||
StackVector<ShaderBinding::Binding> bindings = NazaraStackVector(ShaderBinding::Binding, 2);
|
||||
|
||||
if (std::size_t bindingIndex = settings->GetPredefinedBindingIndex(PredefinedShaderBinding::UboInstanceData); bindingIndex != MaterialSettings::InvalidIndex)
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace Nz
|
||||
switch (PixelFormatInfo::GetContent(textureFormat))
|
||||
{
|
||||
case PixelFormatContent_ColorRGBA:
|
||||
attachment = GL_COLOR_ATTACHMENT0 + colorAttachmentCount;
|
||||
attachment = static_cast<GLenum>(GL_COLOR_ATTACHMENT0 + colorAttachmentCount);
|
||||
colorAttachmentCount++;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user