Skip to content

Commit 4131c36

Browse files
committed
Synched with section 17.4 (part 1). Corrected Off-by-one error and spelling.
1 parent 15e88b5 commit 4131c36

File tree

7 files changed

+224
-152
lines changed

7 files changed

+224
-152
lines changed

src/Graphics/Rendering/OpenGL/GL/BufferMode.hs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
--------------------------------------------------------------------------------
33
-- |
44
-- Module : Graphics.Rendering.OpenGL.GL.BufferMode
5-
-- Copyright : (c) Sven Panne 2002-2013
5+
-- Copyright : (c) Sven Panne 2002-2015
66
-- License : BSD3
77
--
88
-- Maintainer : Sven Panne <[email protected]>
@@ -23,7 +23,10 @@ import Graphics.Rendering.OpenGL.Raw
2323

2424
--------------------------------------------------------------------------------
2525

26-
-- | The set of color buffers which are selected for reading and writing.
26+
-- | The set of color buffers which are selected for reading and writing. Note
27+
-- that 'FBOColorAttachment' can only be used with framebuffer objects, while
28+
-- the rest can only be used with the default framebuffer. Furthermore, OpenGL
29+
-- 3.0 deprecated auxiliary buffers, so avoid 'AuxBuffer' in modern code.
2730

2831
data BufferMode =
2932
NoBuffers

0 commit comments

Comments
 (0)