Browse Source

deinitialize driver

Samuel Thibault 12 years ago
parent
commit
f24447c075
1 changed files with 2 additions and 0 deletions
  1. 2 0
      examples/gl_interop/gl_interop_idle.c

+ 2 - 0
examples/gl_interop/gl_interop_idle.c

@@ -146,6 +146,8 @@ int main(int argc, char **argv)
 	glutIdleFunc(idle);
 	glutIdleFunc(idle);
 	/* Now run the glut loop */
 	/* Now run the glut loop */
 	glutMainLoop();
 	glutMainLoop();
+	/* And deinitialize driver */
+	starpu_driver_deinit(&drivers[0]);
 	printf("finished running the driver\n");
 	printf("finished running the driver\n");
 
 
 	starpu_shutdown();
 	starpu_shutdown();