This makes it possible to determine if a texture has storage defined or
not.
R8 = 0x4100|RED,
R16F = 0x3200|RED,
R32F = 0x3400|RED,
R8 = 0x4100|RED,
R16F = 0x3200|RED,
R32F = 0x3400|RED,
Texture::Texture(GLenum t, ResourceManager *m):
id(0),
target(t),
Texture::Texture(GLenum t, ResourceManager *m):
id(0),
target(t),
- format(RGB8),
- storage_fmt(RGB8),
+ format(NO_PIXELFORMAT),
+ storage_fmt(format),
swizzle(NO_SWIZZLE),
use_srgb_format(false),
auto_gen_mipmap(false)
swizzle(NO_SWIZZLE),
use_srgb_format(false),
auto_gen_mipmap(false)