[−][src]Macro glium::assert_no_gl_error
Calls the assert_no_error
method on a glium::Display
instance
with file and line number information.
Aside from the first argument which must be the display,
the arguments of this macro match the println!
macro.
Example
ⓘThis example is not tested
assert_no_gl_error!(my_display); assert_no_gl_error!(my_display, "custom message"); assert_no_gl_error!(my_display, "custom format {}", 5);