Ignore:
Timestamp:
09/21/15 19:13:26 (10 years ago)
Author:
epyon
Message:
  • full math library
  • GLM dependency removed
File:
1 edited

Legend:

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

    r466 r471  
    7676        }
    7777        // TODO: BGR vs RGB, single channel
    78         assert( image->format->BytesPerPixel > 2 );
     78        NV_ASSERT( image->format->BytesPerPixel > 2, "bytes per pixel > 2!" );
    7979        image_format format( image->format->BytesPerPixel == 3 ? RGB : RGBA, UBYTE );
    8080        image_data* idata = new image_data( format, ivec2( image->w, image->h ), static_cast<nv::uint8*>( image->pixels ) );
Note: See TracChangeset for help on using the changeset viewer.