Changeset 1772
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/video.cpp
r1771 r1772 234 234 { 235 235 #if defined USE_D3D9 || defined _XBOX 236 /* Note: D3D9 doesn't appear to support the accumulation buffer. */237 236 int mask = 0; 238 237 if (m & ClearMask::Color) … … 256 255 if (m & ClearMask::Depth) 257 256 mask |= GL_DEPTH_BUFFER_BIT; 258 if (m & ClearMask::Accum)259 mask |= GL_ACCUM_BUFFER_BIT;260 257 if (m & ClearMask::Stencil) 261 258 mask |= GL_STENCIL_BUFFER_BIT; -
trunk/src/video.h
r1771 r1772 27 27 enum Value 28 28 { 29 /* Note: D3D9 doesn't appear to support the accumulation buffer, 30 * and it is a deprecated OpenGL feature. No reasone to support it. */ 29 31 Color = 1 << 0, 30 32 Depth = 1 << 1, 31 Accum = 1 << 2, 32 Stencil = 1 << 3, 33 Stencil = 1 << 2, 33 34 34 35 All = 0xffffffff
Note: See TracChangeset
for help on using the changeset viewer.