Original Post
In Unreal when an error occurs a dialog is shown containing the function call where the error occurred on, something like this: "pProgram->Initialize()".
I´ll explain what I´m doing right now.
...
bFailed = pProgram->Initialize();
if ( bFailed )
{
pErrorHandler->ReportError( __FILE__, __LINE__, "pProgram->Intialize()" );
}
...
This works, but I find it inefficient to type out the whole function every time. Can you guys come up with a more efficient way to this?
----------
Mail me, Drago''s OpenGL Website