From: Brian Paul Date: Wed, 24 Mar 2010 15:08:24 +0000 (-0600) Subject: progs/glsl: remove/replace //-style comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01f7acb700789abacca21e89400f57375eb82499;p=mesa.git progs/glsl: remove/replace //-style comments --- 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);