Ignore:
Timestamp:
07/13/16 19:54:34 (9 years ago)
Author:
epyon
Message:
  • split shader objects from programs to allow separate compilation
  • minor additions
File:
1 edited

Legend:

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

    r503 r506  
    319319}
    320320
     321
     322unsigned int nv::shader_type_to_enum( shader_type type )
     323{
     324        switch ( type )
     325        {
     326        case VERTEX_SHADER:   return GL_VERTEX_SHADER;
     327        case FRAGMENT_SHADER: return GL_FRAGMENT_SHADER;
     328                NV_RETURN_COVERED_DEFAULT( 0 );
     329        }
     330}
    321331
    322332unsigned int nv::buffer_access_to_bitfield( buffer_access type )
Note: See TracChangeset for help on using the changeset viewer.