private void compileShader()
	{
		glLinkProgram( resource.getProgram() );

		if ( glGetProgrami( resource.getProgram(), GL_LINK_STATUS ) == 0 )
		{
			System.err.println( glGetProgramInfoLog( resource.getProgram(), 1024 ) );
			System.exit( 1 );
		}

		glValidateProgram( resource.getProgram() );

		if ( glGetProgrami( resource.getProgram(), GL_VALIDATE_STATUS ) == 0 )
		{
			System.err.println( glGetProgramInfoLog( resource.getProgram(), 1024 ) );
			System.exit( 1 );
		}
	}