]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture.cpp
Use default member initializers in Texture
[libs/gl.git] / source / core / texture.cpp
index b8a2614a1da9b697410067a7daaad807476ace7c..73dd39b6c5cf79a5662a31ff3846b8981fc677b6 100644 (file)
@@ -15,12 +15,7 @@ namespace Msp {
 namespace GL {
 
 Texture::Texture(unsigned t):
-       TextureBackend(t),
-       format(NO_PIXELFORMAT),
-       storage_fmt(format),
-       swizzle(NO_SWIZZLE),
-       use_srgb_format(false),
-       auto_gen_mipmap(false)
+       TextureBackend(t)
 { }
 
 void Texture::set_format(PixelFormat fmt)