]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/framebuffer.cpp
Use standard fixed-size integer types
[libs/gl.git] / source / core / framebuffer.cpp
index 0ce00becd23d5503ca5f26fec5f13eab065f9f17..e9d8863ca16e4e0379a11e9777def136cb596d2e 100644 (file)
@@ -131,7 +131,7 @@ void Framebuffer::update() const
        vector<GLenum> color_bufs;
        color_bufs.reserve(format.size());
        unsigned i = 0;
-       for(const UInt16 *j=format.begin(); j!=format.end(); ++j, ++i)
+       for(const uint16_t *j=format.begin(); j!=format.end(); ++j, ++i)
        {
                GLenum gl_attach_point = get_gl_attachment(static_cast<FrameAttachment>(*j));
                if(dirty&(1<<i))
@@ -254,7 +254,7 @@ void Framebuffer::set_attachment(FrameAttachment attch, Texture &tex, unsigned l
                throw incompatible_data("Framebuffer::attach");
 
        unsigned i = 0;
-       for(const UInt16 *j=format.begin(); j!=format.end(); ++j, ++i)
+       for(const uint16_t *j=format.begin(); j!=format.end(); ++j, ++i)
                if(*j==attch)
                {
                        attachments[i].set(tex, level, layer);