Skip to content

Commit

Permalink
Add potential crash in VertexArrayObject
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfug committed Feb 1, 2018
1 parent d6d50da commit d607dc4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/OpenGL/vertexarrayobjectnode.cpp
Expand Up @@ -89,6 +89,11 @@ void VertexArrayObjectNode::inputsUpdated( qint64 pTimeStamp )

OpenGLShaderInterface *Shader = input<OpenGLShaderInterface *>( mPinInputShader );

if( !Shader )
{
return;
}

for( QSharedPointer<fugio::PinInterface> P : mNode->enumInputPins() )
{
if( P == mPinInputShader )
Expand Down

0 comments on commit d607dc4

Please sign in to comment.