From 01f7acb700789abacca21e89400f57375eb82499 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 24 Mar 2010 09:08:24 -0600 Subject: [PATCH] progs/glsl: remove/replace //-style comments --- progs/glsl/fsraytrace.c | 2 +- progs/glsl/vsraytrace.c | 3 +-- 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); -- 2.30.2