X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Frender%2Frendertarget.cpp;h=302b983f478ecd34a1d67ebc92fd3ecec33f7d43;hp=b144580ca50a5aa04c35b35e266c958e63d69ae1;hb=3a1b9cbe2441ae670a97541dc8ccb0a2860c8302;hpb=7ab13563ec79b45a09f03da73acb15b39e192df9 diff --git a/source/render/rendertarget.cpp b/source/render/rendertarget.cpp index b144580c..302b983f 100644 --- a/source/render/rendertarget.cpp +++ b/source/render/rendertarget.cpp @@ -17,7 +17,7 @@ RenderTarget::RenderTarget(unsigned w, unsigned h, const FrameFormat &f): { textures.reserve(f.size()); unsigned samples = f.get_samples(); - for(const UInt16 *i=f.begin(); i!=f.end(); ++i) + for(const uint16_t *i=f.begin(); i!=f.end(); ++i) { FrameAttachment fa = static_cast(*i); PixelFormat pf = get_attachment_pixelformat(*i); @@ -70,7 +70,7 @@ void RenderTarget::set_debug_name(const string &name) fbo.set_debug_name(name+" [FBO]"); const FrameFormat &fmt = fbo.get_format(); unsigned i = 0; - for(const UInt16 *j=fmt.begin(); j!=fmt.end(); ++i, ++j) + for(const uint16_t *j=fmt.begin(); j!=fmt.end(); ++i, ++j) { unsigned attach_pt = get_attach_point(static_cast(*j));