mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
progs/glsl: remove/replace //-style comments
This commit is contained in:
parent
79394f0267
commit
01f7acb700
2 changed files with 2 additions and 3 deletions
|
|
@ -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,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…
Add table
Reference in a new issue