Ignore:
Timestamp:
08/19/15 19:01:16 (10 years ago)
Author:
epyon
Message:
  • quaternion fixes
  • image_data/device/gl_device/gl_enum - single channel texture support (RED)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gl/gl_enum.cc

    r438 r461  
    184184        case BGR     : return GL_BGR;
    185185        case BGRA    : return GL_BGRA;
     186        case RED     : return GL_RED;
    186187        NV_RETURN_COVERED_DEFAULT( 0 );
    187188        }
     
    200201        case BGR     : return GL_RGB8;
    201202        case BGRA    : return GL_RGBA8;
     203        case RED     : return 0x8040; // GL_LUMINANCE8; // TODO: change to GL_R8!
     204
    202205        NV_RETURN_COVERED_DEFAULT( 0 );
    203206        }
Note: See TracChangeset for help on using the changeset viewer.