X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fframeformat.cpp;h=3a415766696cdf065cbe4670682a32a47f76bd85;hp=f023aba799a59d19cde92ae5e09f7f4fdb9f603d;hb=3a1b9cbe2441ae670a97541dc8ccb0a2860c8302;hpb=7ab13563ec79b45a09f03da73acb15b39e192df9 diff --git a/source/core/frameformat.cpp b/source/core/frameformat.cpp index f023aba7..3a415766 100644 --- a/source/core/frameformat.cpp +++ b/source/core/frameformat.cpp @@ -36,7 +36,7 @@ FrameFormat FrameFormat::operator,(PixelFormat pf) const throw invalid_operation("FrameFormat::operator,"); FrameFormat r = *this; - UInt16 &fa = r.attachments[r.count-1]; + uint16_t &fa = r.attachments[r.count-1]; fa = make_typed_attachment(static_cast(fa), pf); return r; @@ -48,7 +48,7 @@ FrameFormat FrameFormat::operator,(unsigned index) const throw invalid_operation("FrameFormat::operator,"); FrameFormat r = *this; - UInt16 &fa = r.attachments[r.count-1]; + uint16_t &fa = r.attachments[r.count-1]; fa = make_indexed_attachment(static_cast(fa), index); return r; @@ -104,7 +104,7 @@ FrameAttachment make_indexed_attachment(FrameAttachment fa, unsigned i) throw invalid_argument("make_indexed_attachment"); } -PixelFormat get_attachment_pixelformat(UInt16 fa) +PixelFormat get_attachment_pixelformat(uint16_t fa) { PixelComponents comp; if(get_attach_point(fa)==get_attach_point(DEPTH_ATTACHMENT))