Removed unused copy program from main
This commit is contained in:
parent
7e6b558f27
commit
5b3d883488
1 changed files with 0 additions and 13 deletions
13
main.cc
13
main.cc
|
@ -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** )
|
||||
|
|
Loading…
Reference in a new issue