mirror of
				https://bitbucket.org/mfeemster/fractorium.git
				synced 2025-11-04 02:00:31 -05:00 
			
		
		
		
	Show program build errors from BuildIterProgramForEmber
This commit is contained in:
		@ -742,8 +742,13 @@ bool RendererCL<T>::BuildIterProgramForEmber(bool doAccum)
 | 
			
		||||
		m_LastBuiltEmber = m_Ember;
 | 
			
		||||
	}
 | 
			
		||||
	else
 | 
			
		||||
	{
 | 
			
		||||
		m_ErrorReport.push_back(string(loc) + "():\nBuilding the following program failed: \n" + m_IterKernel + "\n");
 | 
			
		||||
  {
 | 
			
		||||
    //m_ErrorReport.push_back(string(loc) + "():\nBuilding the following program failed: \n" + m_IterKernel + "\n");
 | 
			
		||||
 | 
			
		||||
    std::vector<std::string> errors = m_Wrapper.ProgramBuildErrors();
 | 
			
		||||
    m_ErrorReport.insert(m_ErrorReport.end(), errors.begin(), errors.end());
 | 
			
		||||
    m_ErrorReport.push_back(loc);
 | 
			
		||||
 | 
			
		||||
		return false;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user