Changeset 1772


Ignore:
Timestamp:
Aug 18, 2012, 7:11:15 PM (11 years ago)
Author:
sam
Message:

gpu: remove support for the accumulation buffer, it's deprecated anyway.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/video.cpp

    r1771 r1772  
    234234{
    235235#if defined USE_D3D9 || defined _XBOX
    236     /* Note: D3D9 doesn't appear to support the accumulation buffer. */
    237236    int mask = 0;
    238237    if (m & ClearMask::Color)
     
    256255    if (m & ClearMask::Depth)
    257256        mask |= GL_DEPTH_BUFFER_BIT;
    258     if (m & ClearMask::Accum)
    259         mask |= GL_ACCUM_BUFFER_BIT;
    260257    if (m & ClearMask::Stencil)
    261258        mask |= GL_STENCIL_BUFFER_BIT;
  • trunk/src/video.h

    r1771 r1772  
    2727    enum Value
    2828    {
     29        /* Note: D3D9 doesn't appear to support the accumulation buffer,
     30         * and it is a deprecated OpenGL feature. No reasone to support it. */
    2931        Color   = 1 << 0,
    3032        Depth   = 1 << 1,
    31         Accum   = 1 << 2,
    32         Stencil = 1 << 3,
     33        Stencil = 1 << 2,
    3334
    3435        All     = 0xffffffff
Note: See TracChangeset for help on using the changeset viewer.