2
0
mirror of https://github.com/Thracky/GlosSI.git synced 2024-11-19 03:25:29 +00:00
GlosSI-fork/GlosSITarget/SteamTarget.cpp
2021-10-15 15:02:36 +02:00

17 lines
276 B
C++

#include "SteamTarget.h"
#include <iostream>
SteamTarget::SteamTarget(int argc, char* argv[]) : window_([this] { run_ = false; }) {
}
int SteamTarget::run() {
run_ = true;
window_.setFpsLimit(90);
while (run_) {
window_.update();
}
return 1;
}