From: Steinar H. Gunderson Date: Fri, 6 Mar 2020 21:18:41 +0000 (+0100) Subject: Move RefCountedTexture to shared. X-Git-Tag: 1.9.2~16 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=ee039e874b74ba8c9bfe37f88c29f4c37b7964f6 Move RefCountedTexture to shared. --- 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