mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-18 14:14:53 -04:00
--User changes
-Disable Start button in final render dialog when Pause is clicked. --Bug fixes -Rapidly changing spinner values was causing the OpenCL renderer to report a failure, when it was really just aborting. --Code changes -Renderers never internally set abort to true due to a failure. Abort is only set to true by the calling code.
This commit is contained in:
@ -61,6 +61,7 @@ public:
|
||||
|
||||
void Clear()
|
||||
{
|
||||
m_Success = true;
|
||||
m_Iters = 0;
|
||||
m_Badvals = 0;
|
||||
m_IterMs = 0;
|
||||
@ -69,6 +70,7 @@ public:
|
||||
|
||||
EmberStats& operator += (const EmberStats& stats)
|
||||
{
|
||||
m_Success &= stats.m_Success;
|
||||
m_Iters += stats.m_Iters;
|
||||
m_Badvals += stats.m_Badvals;
|
||||
m_IterMs += stats.m_IterMs;
|
||||
@ -76,6 +78,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool m_Success = true;
|
||||
size_t m_Iters, m_Badvals;
|
||||
double m_IterMs, m_RenderMs;
|
||||
};
|
||||
|
Reference in New Issue
Block a user