#include <string>
#include <thread>
-#include "ref_counted_texture.h"
+#include "shared/ref_counted_texture.h"
#include "tweaked_inputs.h"
class QSurface;
// NOTE: You will need to call start_update_thread() yourself, once per program.
struct Image {
unsigned width, height;
- RefCountedTexture tex;
+ UniqueTexture tex;
timespec last_modified;
};
static std::shared_ptr<const Image> load_image(const std::string &filename, const std::string &pathname);