pixel_buffer(PIXEL_UNPACK_BUFFER),
mapped_address(0),
phase(0)
-{
- if(!texture.id)
- glGenTextures(1, &texture.id);
-}
+{ }
bool Texture2D::AsyncLoader::needs_sync() const
{
return false;
}
+ if(!texture.id)
+ glGenTextures(1, &texture.id);
texture.image(image, false, true);
}