Index: trunk/src/gl/gl_device.cc
===================================================================
--- trunk/src/gl/gl_device.cc	(revision 469)
+++ trunk/src/gl/gl_device.cc	(revision 471)
@@ -76,5 +76,5 @@
 	}
 	// TODO: BGR vs RGB, single channel
-	assert( image->format->BytesPerPixel > 2 );
+	NV_ASSERT( image->format->BytesPerPixel > 2, "bytes per pixel > 2!" );
 	image_format format( image->format->BytesPerPixel == 3 ? RGB : RGBA, UBYTE );
 	image_data* idata = new image_data( format, ivec2( image->w, image->h ), static_cast<nv::uint8*>( image->pixels ) );
