aboutsummaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-03-24 09:08:24 -0600
committerBrian Paul <[email protected]>2010-03-24 09:08:24 -0600
commit01f7acb700789abacca21e89400f57375eb82499 (patch)
tree9ae194234b1539be6ef86667483e661e4fca58b0 /progs
parent79394f0267a41cc9ea446c69f4b6530b255019dc (diff)
progs/glsl: remove/replace //-style comments
Diffstat (limited to 'progs')
-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 e35af0fc5a3..8d54757e590 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 37b8f774aa7..d7726c787b8 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);