summaryrefslogtreecommitdiffstats
path: root/examples/integration_opengl/src/scene.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/integration_opengl/src/scene.rs')
-rw-r--r--examples/integration_opengl/src/scene.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/integration_opengl/src/scene.rs b/examples/integration_opengl/src/scene.rs
index 2a27be11..ccca0d29 100644
--- a/examples/integration_opengl/src/scene.rs
+++ b/examples/integration_opengl/src/scene.rs
@@ -52,7 +52,7 @@ impl Scene {
);
gl.compile_shader(shader);
if !gl.get_shader_compile_status(shader) {
- panic!(gl.get_shader_info_log(shader));
+ panic!("{}", gl.get_shader_info_log(shader));
}
gl.attach_shader(program, shader);
shaders.push(shader);
@@ -60,7 +60,7 @@ impl Scene {
gl.link_program(program);
if !gl.get_program_link_status(program) {
- panic!(gl.get_program_info_log(program));
+ panic!("{}", gl.get_program_info_log(program));
}
for shader in shaders {