]> git.sesse.net Git - nageru/commitdiff
Move RefCountedTexture to shared.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 6 Mar 2020 21:18:41 +0000 (22:18 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 6 Mar 2020 21:18:41 +0000 (22:18 +0100)
nageru/image_input.h
shared/ref_counted_texture.h [moved from nageru/ref_counted_texture.h with 80% similarity]

index 6ccdd128cdd15159f4806f2f98f87f60a0f3ba80..babf5f529316df31c7b1d2bd2cd4e7f44534b3e8 100644 (file)
@@ -13,7 +13,7 @@
 #include <string>
 #include <thread>
 
-#include "ref_counted_texture.h"
+#include "shared/ref_counted_texture.h"
 #include "tweaked_inputs.h"
 
 class QSurface;
similarity index 80%
rename from nageru/ref_counted_texture.h
rename to shared/ref_counted_texture.h
index 1a94476ab518898e6885e28a455d1e35b7f2bd58..20d0e5abae0eba26678ed8d4a07cad1f1d85a7d3 100644 (file)
@@ -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 <epoxy/gl.h>
 #include <memory>