Fix layout issues, misc cleanup and comments

This commit is contained in:
Henrik Rydgård 2022-12-06 16:32:56 +01:00
parent aed5d76fbc
commit 39b627c0c1
7 changed files with 30 additions and 24 deletions

View file

@ -1064,7 +1064,7 @@ void TakeScreenshot() {
}
void RenderOverlays(UIContext *dc, void *userdata) {
// Thin bar at the top of the screen like Chrome.
// Thin bar at the top of the screen.
std::vector<float> progress = g_DownloadManager.GetCurrentProgress();
if (!progress.empty()) {
static const uint32_t colors[4] = {
@ -1091,8 +1091,8 @@ void RenderOverlays(UIContext *dc, void *userdata) {
}
void NativeRender(GraphicsContext *graphicsContext) {
_assert_(graphicsContext != nullptr);
_assert_(screenManager != nullptr);
_dbg_assert_(graphicsContext != nullptr);
_dbg_assert_(screenManager != nullptr);
g_GameManager.Update();