summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-03-24 09:08:24 -0600
committerBrian Paul <brianp@vmware.com>2010-03-24 09:08:24 -0600
commit01f7acb700789abacca21e89400f57375eb82499 (patch)
tree9ae194234b1539be6ef86667483e661e4fca58b0
parent79394f0267a41cc9ea446c69f4b6530b255019dc (diff)
progs/glsl: remove/replace //-style comments
-rw-r--r--progs/glsl/fsraytrace.c2
-rw-r--r--progs/glsl/vsraytrace.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/progs/glsl/fsraytrace.c b/progs/glsl/fsraytrace.c
index e35af0fc5a..8d54757e59 100644
--- a/progs/glsl/fsraytrace.c
+++ b/progs/glsl/fsraytrace.c
@@ -1,4 +1,4 @@
-// -*- mode: c; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; coding: utf-8-unix -*-
+/* -*- mode: c; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; coding: utf-8-unix -*- */
/*
Copyright (c) 2010 Kristóf Ralovich
diff --git a/progs/glsl/vsraytrace.c b/progs/glsl/vsraytrace.c
index 37b8f774aa..d7726c787b 100644
--- a/progs/glsl/vsraytrace.c
+++ b/progs/glsl/vsraytrace.c
@@ -1,4 +1,4 @@
-// -*- mode: c; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; coding: utf-8-unix -*-
+/* -*- mode: c; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; coding: utf-8-unix -*- */
/*
Copyright (c) 2010 Kristóf Ralovich
@@ -221,7 +221,6 @@ Draw(void)
float rot[9] = {1,0,0, 0,1,0, 0,0,1};
GLint location = glGetUniformLocation(program, "rot");
- //printf("loc=%d\n", location);
glUseProgram(program);
glUniformMatrix3fv(location, 1, 0, rot);