Samuel Thibault 11 年之前
父节点
当前提交
2a64aee610
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      examples/gl_interop/gl_interop.c

+ 2 - 2
examples/gl_interop/gl_interop.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  *
- * Copyright (C) 2012 Université de Bordeaux 1
+ * Copyright (C) 2012-2013 Université de Bordeaux 1
  *
  *
  * StarPU is free software; you can redistribute it and/or modify
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
  * it under the terms of the GNU Lesser General Public License as published by
@@ -27,7 +27,7 @@
 #include <starpu.h>
 #include <starpu.h>
 #include <unistd.h>
 #include <unistd.h>
 
 
-#if !(defined(STARPU_USE_CUDA) && defined(STARPU_OPENGL_RENDER))
+#if (defined(STARPU_USE_CUDA) && defined(STARPU_OPENGL_RENDER))
 #include <GL/glut.h>
 #include <GL/glut.h>
 
 
 void dummy(void *buffers[], void *cl_arg)
 void dummy(void *buffers[], void *cl_arg)