Debugging of a mouse polling issue, refactored the graph thing and finished tweaking it, added a few profiles to the graph, so pretty

This commit is contained in:
2018-02-27 22:13:59 -08:00
parent 29612edd61
commit 5a47d3bad4
12 changed files with 169 additions and 119 deletions

View File

@@ -30,6 +30,7 @@
#include "LightHandle.h"
#include "map/Map.h"
#include "util.hpp"
#include "GraphTimer.h"
// Srsly people who macro error codes are the devil
#undef ERROR
@@ -77,7 +78,7 @@ private:
// The sfml imgui wrapper I'm using requires Update be called with sf::Time
// Might modify it to also accept seconds
sf::Clock sf_delta_clock;
fps_counter fps;
GraphTimer fps;
// vars for us to use with ImGUI
float light_color[4] = { 0, 0, 0, 0 };