RenderOutput looks like an unsigned more than a RenderTargetFormat so
the compiler would resolve it to the multisample overload.
}
+RenderTarget::RenderTarget(unsigned w, unsigned h, RenderOutput o)
+{
+ init(w, h, 0, o);
+}
+
RenderTarget::RenderTarget(unsigned w, unsigned h, const RenderTargetFormat &f)
{
init(w, h, 0, f);
Framebuffer fbo;
public:
+ RenderTarget(unsigned, unsigned, RenderOutput);
RenderTarget(unsigned, unsigned, const RenderTargetFormat & = (RENDER_COLOR, RENDER_DEPTH));
RenderTarget(unsigned, unsigned, unsigned, const RenderTargetFormat & = (RENDER_COLOR, RENDER_DEPTH));
private: