]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/frameformat.h
Nudge the FrameFormat floating-point flag one bit to the left
[libs/gl.git] / source / core / frameformat.h
index 45ea9198cd772b1adc3f370307df1ee4a9b17971..c67586a9dd435353c5511f67967e23bd57d4ec6a 100644 (file)
@@ -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
 };