Fixed 'unreferenced local variable' warning in OPENGL_GAL.

This commit is contained in:
Maciej Suminski 2017-01-18 14:23:06 +01:00
parent 6dd47119fe
commit 196c5aca83
1 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ void OPENGL_GAL::BeginDrawing()
mainBuffer = compositor->CreateBuffer();
overlayBuffer = compositor->CreateBuffer();
}
catch( std::runtime_error& e )
catch( std::runtime_error& )
{
GL_CONTEXT_MANAGER::Get().UnlockCtx( glPrivContext );
throw; // DRAW_PANEL_GAL will handle it
@ -1561,7 +1561,7 @@ void OPENGL_GAL::init()
throw std::runtime_error( "Requested texture size is not supported" );
}
}
catch( std::runtime_error& e )
catch( std::runtime_error& )
{
GL_CONTEXT_MANAGER::Get().UnlockCtx( glPrivContext );
throw;