X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fframeformat.h;h=c67586a9dd435353c5511f67967e23bd57d4ec6a;hb=e92de029768eef5f0fd744329e589161b46d0762;hp=45ea9198cd772b1adc3f370307df1ee4a9b17971;hpb=6353307898cd397e2bcde13e2448a8a678a60004;p=libs%2Fgl.git diff --git a/source/core/frameformat.h b/source/core/frameformat.h index 45ea9198..c67586a9 100644 --- a/source/core/frameformat.h +++ b/source/core/frameformat.h @@ -11,10 +11,10 @@ namespace GL { Describes a single attachment of a framebuffer. The values are bitfields laid as follows: -nnnn nn__ fsss _ccc - │ │ │ └╴Number of components - │ │ └─────╴Size of one component - │ └────────╴Floating-point flag +nnnn nn_f _sss _ccc + │ │ │ └╴Number of components + │ │ └─────╴Size of one component + │ └──────────╴Floating-point flag └────────────╴Attachment index This information is presented for internal documentation purposes only; it is @@ -23,7 +23,7 @@ inadvisable for programs to rely on it. enum FrameAttachment { COLOR_ATTACHMENT = 0x0014, - DEPTH_ATTACHMENT = 0xF8C1, + DEPTH_ATTACHMENT = 0xF941, STENCIL_ATTACHMENT = 0xFC11 };