unsigned get_width() const { return width; }
unsigned get_height() const { return height; }
+private:
+ static PixelFormat normalize_format(PixelFormat);
+
+public:
/** Allocates storage for the renderbuffer. */
void storage(PixelFormat fmt, unsigned wd, unsigned ht);