]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/texture_backend.h
Move a few bits of Renderer into a backend class
[libs/gl.git] / source / backends / opengl / texture_backend.h
index 815778203bcaba66f4e13de3f81a2b08aa8450a0..69756206ac9aa3f4966e9d13f27bede59d02ea56 100644 (file)
@@ -12,11 +12,10 @@ 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);