Removed unused copy program from main

This commit is contained in:
Emmanuel BENOîT 2017-10-04 17:49:02 +02:00
parent 7e6b558f27
commit 5b3d883488

13
main.cc
View file

@ -24,8 +24,6 @@ struct T_Main
ImVec2 mouseInitial;
ImVec2 mouseMove;
std::unique_ptr< T_ShaderProgram > spCopy;
std::unique_ptr< T_Demo > demo;
void initDemo( );
@ -34,8 +32,6 @@ struct T_Main
void handleCapture( );
void makeUI( );
void render( );
void initProgram( );
};
/*----------------------------------------------------------------------------*/
@ -43,7 +39,6 @@ struct T_Main
T_Main::T_Main( )
{
Globals::Init( );
initProgram( );
}
void T_Main::mainLoop( )
@ -189,14 +184,6 @@ void T_Main::render( )
}
void T_Main::initProgram( )
{
spCopy = std::make_unique< T_ShaderProgram >( GL_FRAGMENT_SHADER );
spCopy->addFile( "copy.glsl" );
spCopy->load( );
}
/*============================================================================*/
int main( int , char** )