Ignore:
Timestamp:
05/14/14 19:08:41 (11 years ago)
Author:
epyon
Message:
  • debug_draw module added
  • evil vertex descriptor and info added
  • fix for sampler objects
  • various fixes
File:
1 edited

Legend:

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

    r233 r237  
    246246        case GL_INT_VEC3       : return INT_VECTOR_3;
    247247        case GL_INT_VEC4       : return INT_VECTOR_4;
     248// TODO: separate types?
     249        case GL_SAMPLER_1D         : return INT;
     250        case GL_SAMPLER_2D         : return INT;
     251        case GL_SAMPLER_3D         : return INT;
     252        case GL_SAMPLER_CUBE       : return INT;
     253        case GL_SAMPLER_1D_SHADOW  : return INT;       
     254        case GL_SAMPLER_2D_SHADOW  : return INT;
     255// TODO: implement?
     256//      case GL_BOOL   
     257//      case GL_BOOL_VEC2
     258//      case GL_BOOL_VEC3
     259//      case GL_BOOL_VEC4
     260//      case GL_FLOAT_MAT2x3   
     261//      case GL_FLOAT_MAT2x4   
     262//      case GL_FLOAT_MAT3x2   
     263//      case GL_FLOAT_MAT3x4   
     264//      case GL_FLOAT_MAT4x2   
     265//      case GL_FLOAT_MAT4x3   
    248266        default : return datatype(0); // TODO: throw!
    249267        }
Note: See TracChangeset for help on using the changeset viewer.