]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/texture_backend.h
Use the changes member directly in PipelineState backends
[libs/gl.git] / source / backends / opengl / texture_backend.h
index 815778203bcaba66f4e13de3f81a2b08aa8450a0..623bd813291771ec39a10c5bdfbb501a49ee44c8 100644 (file)
@@ -12,14 +12,12 @@ class OpenGLTexture: public NonCopyable
        friend class OpenGLPipelineState;
 
 protected:
-       unsigned id;
+       unsigned id = 0;
        unsigned target;
        std::string debug_name;
 
-       static int swizzle_orders[];
-       static OpenGLTexture *scratch_binding;
-
        OpenGLTexture(unsigned);
+       OpenGLTexture(OpenGLTexture &&);
        ~OpenGLTexture();
 
        void create();