Ignore:
Timestamp:
06/14/15 14:31:00 (10 years ago)
Author:
epyon
Message:
  • got rid of exceptions
  • assert enhancements
  • lots of minor cleanup
File:
1 edited

Legend:

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

    r399 r403  
    238238                if ( fatal )
    239239                {
    240                         NV_LOG_ERROR( "Uniform '", name, "' not found in program!" );
    241                         NV_THROW( runtime_error, ( "Uniform '"+name+"' not found!" ) );
     240                        NV_LOG_CRITICAL( "gl_device : uniform '", string_view( name ), "' not found in program!" );
     241                        NV_ABORT( "gl_device : uniform not found!" );
    242242                }
    243243        }
     
    257257                if ( fatal )
    258258                {
    259                         NV_LOG_ERROR( "Attribute '", name, "' not found in program!" );
    260                         NV_THROW( runtime_error, ( "Attribute '"+ name + "' not found!" ) );
     259                        NV_LOG_CRITICAL( "gl_device : attribute '", string_view( name ), "' not found in program!" );
     260                        NV_ABORT( "gl_device : attribute not found!" );
    261261                }
    262262        }
Note: See TracChangeset for help on using the changeset viewer.