瀏覽代碼

progs/glsl: remove/replace //-style comments

tags/mesa-7.9-rc1
Brian Paul 15 年之前
父節點
當前提交
01f7acb700
共有 2 個文件被更改,包括 2 次插入3 次删除
  1. 1
    1
      progs/glsl/fsraytrace.c
  2. 1
    2
      progs/glsl/vsraytrace.c

+ 1
- 1
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


+ 1
- 2
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);

Loading…
取消
儲存