瀏覽代碼

progs/tests: Use rand() instead of random().

Forgot these on previous commit.
tags/mesa_7_7_rc1
José Fonseca 16 年之前
父節點
當前提交
166957abeb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      progs/tests/prog_parameter.c

+ 1
- 1
progs/tests/prog_parameter.c 查看文件

@@ -153,7 +153,7 @@ static int set_parameter_batch( GLsizei count, GLfloat * param,


for ( i = 0 ; i < (4 * count) ; i++ ) {
param[i] = (GLfloat) random() / (GLfloat) random();
param[i] = (GLfloat) rand() / (GLfloat) rand();
}

printf("Testing glProgram%sParameters4fvEXT (count = %u)...\n", name, count);

Loading…
取消
儲存