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)