general system refactors, updates

This commit is contained in:
turanszkij
2018-08-20 20:54:02 +01:00
parent 7a64dfbf85
commit a897ec4f75
46 changed files with 1066 additions and 1856 deletions
+1 -10
View File
@@ -38,8 +38,7 @@ MainComponent::MainComponent()
setTargetFrameRate(60);
setApplicationControlLostThreshold(10);
infoDisplay = InfoDisplayer();
colorGradingPaletteDisplayEnabled = false;
infoDisplay = InfoDisplayer();
fadeManager.Clear();
}
@@ -282,14 +281,6 @@ void MainComponent::Compose()
wiProfiler::GetInstance().DrawData(4, 120, GRAPHICSTHREAD_IMMEDIATE);
// Draw the color grading palette
if (colorGradingPaletteDisplayEnabled)
{
//wiImage::BatchBegin();
wiImage::Draw(wiTextureHelper::getInstance()->getColorGradeDefault(), wiImageEffects(0, 0, 256, 16), GRAPHICSTHREAD_IMMEDIATE);
wiImage::Draw(wiRenderer::GetColorGrading(), wiImageEffects(screenW-256.f, 0, 256, 16), GRAPHICSTHREAD_IMMEDIATE);
}
wiBackLog::Draw();
}