]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture1d.h
Use default member initializers for simple types
[libs/gl.git] / source / core / texture1d.h
index 1871a17caaa4d282ae1fee19fb656c3686808029..04284697732784fc9ce9b84c1279d7bd40180665 100644 (file)
@@ -26,12 +26,10 @@ public:
        };
 
 private:
-       unsigned width;
-       unsigned levels;
+       unsigned width = 0;
+       unsigned levels = 0;
 
 public:
-       Texture1D();
-
        void storage(PixelFormat, unsigned, unsigned = 0);
 
        void image(unsigned, const void *);