BGE Video Texture: fix constant initializer problem with Exception description. Uniformized the line ending.
This commit is contained in:
@@ -44,7 +44,6 @@ ExpDesc errNFoundDesc (ErrNotFound, "Error description not found");
|
||||
ExpDesc::ExpDesc (ExceptionID & exp, char * desc, RESULT hres)
|
||||
: m_expID(exp), m_hRslt(hres), m_description(desc)
|
||||
{
|
||||
m_expDescs.push_back(this);
|
||||
}
|
||||
|
||||
// destructor
|
||||
@@ -196,3 +195,15 @@ void Exception::copy (const Exception & xpt)
|
||||
m_fileName = xpt.m_fileName;
|
||||
m_line = xpt.m_line;
|
||||
}
|
||||
|
||||
void registerAllExceptions(void)
|
||||
{
|
||||
errGenerDesc.registerDesc();
|
||||
errNFoundDesc.registerDesc();
|
||||
MaterialNotAvailDesc.registerDesc();
|
||||
ImageSizesNotMatchDesc.registerDesc();
|
||||
SceneInvalidDesc.registerDesc();
|
||||
CameraInvalidDesc.registerDesc();
|
||||
SourceVideoEmptyDesc.registerDesc();
|
||||
SourceVideoCreationDesc.registerDesc();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user