From ee039e874b74ba8c9bfe37f88c29f4c37b7964f6 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 6 Mar 2020 22:18:41 +0100 Subject: [PATCH] Move RefCountedTexture to shared. --- nageru/image_input.h | 2 +- {nageru => shared}/ref_counted_texture.h | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) rename {nageru => shared}/ref_counted_texture.h (80%) diff --git a/nageru/image_input.h b/nageru/image_input.h index 6ccdd12..babf5f5 100644 --- a/nageru/image_input.h +++ b/nageru/image_input.h @@ -13,7 +13,7 @@ #include #include -#include "ref_counted_texture.h" +#include "shared/ref_counted_texture.h" #include "tweaked_inputs.h" class QSurface; diff --git a/nageru/ref_counted_texture.h b/shared/ref_counted_texture.h similarity index 80% rename from nageru/ref_counted_texture.h rename to shared/ref_counted_texture.h index 1a94476..20d0e5a 100644 --- a/nageru/ref_counted_texture.h +++ b/shared/ref_counted_texture.h @@ -1,8 +1,7 @@ -#ifndef _UNIQUE_TEXTURE_H -#define _UNIQUE_TEXTURE_H 1 +#ifndef _REF_COUNTED_TEXTURE_H +#define _REF_COUNTED_TEXTURE_H 1 // A wrapper around an OpenGL texture that is automatically deleted. -// Used only by ImageInput. #include #include -- 2.39.2