Updated Ghoul repository

GCC compile fix
This commit is contained in:
Alexander Bock
2016-01-18 17:42:51 +01:00
parent 0edf3cd5d9
commit 50228d9296
2 changed files with 4 additions and 3 deletions

View File

@@ -531,8 +531,9 @@ void RenderablePlanetProjection::render(const RenderData& data){
}
void RenderablePlanetProjection::update(const UpdateData& data){
if (_time >= Time::ref().currentTime()){
imageQueue = {}; // if jump back in time -> empty queue.
if (_time >= Time::ref().currentTime()) {
// if jump back in time -> empty queue.
imageQueue = std::queue<Image>();
}
_time = Time::ref().currentTime();