asd
This commit is contained in:
parent
132f5f002a
commit
266eea99dd
|
@ -275,10 +275,10 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
r_window->EnableRelativeMouse(false);
|
r_window->EnableRelativeMouse(false);
|
||||||
|
|
||||||
uint32_t currentTest = 0;
|
int32_t currentTest = 0;
|
||||||
auto t1 = Time::now();
|
auto t1 = Time::now();
|
||||||
auto startTime = Time::now();
|
auto startTime = Time::now();
|
||||||
uint32_t stops = 0;
|
int32_t stops = 0;
|
||||||
while (r_window->Update(handler))
|
while (r_window->Update(handler))
|
||||||
{
|
{
|
||||||
const auto t2 = Time::now();
|
const auto t2 = Time::now();
|
||||||
|
@ -297,7 +297,7 @@ int main(int argc, char** argv)
|
||||||
else if (handler.getFirst(Input::ButtonCodes::Key_Down))
|
else if (handler.getFirst(Input::ButtonCodes::Key_Down))
|
||||||
stops--;
|
stops--;
|
||||||
|
|
||||||
stops = Clamp(stops, 0u, 5u);
|
stops = Clamp(stops, 0, 5);
|
||||||
|
|
||||||
float targetNits = 0.0f;
|
float targetNits = 0.0f;
|
||||||
switch (stops)
|
switch (stops)
|
||||||
|
|
Loading…
Reference in New Issue