Commit 3b34901a authored by chili's avatar chili
Browse files

Revert "test app loop"

This reverts commit f74d34ca389ef1696150cc649c9c30049c63a8e2.
parent 7d303e4d
#include "App.h"
#include <sstream>
#include <iomanip>
App::App()
:
......@@ -23,8 +21,5 @@ int App::Go()
void App::DoFrame()
{
const float t = timer.Peek();
std::ostringstream oss;
oss << "Time elapsed: " << std::setprecision( 1 ) << std::fixed << t << "s";
wnd.SetTitle( oss.str() );
}
\ No newline at end of file
#pragma once
#include "Window.h"
#include "ChiliTimer.h"
class App
{
......@@ -12,5 +11,4 @@ private:
void DoFrame();
private:
Window wnd;
ChiliTimer timer;
};
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment