]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/rendertarget.cpp
Use standard fixed-size integer types
[libs/gl.git] / source / render / rendertarget.cpp
index b144580ca50a5aa04c35b35e266c958e63d69ae1..302b983f478ecd34a1d67ebc92fd3ecec33f7d43 100644 (file)
@@ -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<FrameAttachment>(*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<FrameAttachment>(*j));