summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-08-08 13:22:28 -0600
committerBrian Paul <[email protected]>2014-08-11 09:44:50 -0600
commitdd8f15a5533cf2847c8039b626cdc7ee18b1eccf (patch)
tree04de651cd93dee706f2a77e583f961a6aaa778d7 /src
parentd8f7577d5f018d84e4f474df05b2a20cf70c0479 (diff)
mesa: whitespace, 80-column wrapping in program.c
Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/program/program.c19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
index 9886b751fcd..ef5bf6b1167 100644
--- a/src/mesa/program/program.c
+++ b/src/mesa/program/program.c
@@ -251,8 +251,9 @@ init_program_struct(struct gl_program *prog, GLenum target, GLuint id)
* Initialize a new fragment program object.
*/
struct gl_program *
-_mesa_init_fragment_program( struct gl_context *ctx, struct gl_fragment_program *prog,
- GLenum target, GLuint id)
+_mesa_init_fragment_program(struct gl_context *ctx,
+ struct gl_fragment_program *prog,
+ GLenum target, GLuint id)
{
if (prog) {
init_program_struct(&prog->Base, target, id);
@@ -266,8 +267,9 @@ _mesa_init_fragment_program( struct gl_context *ctx, struct gl_fragment_program
* Initialize a new vertex program object.
*/
struct gl_program *
-_mesa_init_vertex_program( struct gl_context *ctx, struct gl_vertex_program *prog,
- GLenum target, GLuint id)
+_mesa_init_vertex_program(struct gl_context *ctx,
+ struct gl_vertex_program *prog,
+ GLenum target, GLuint id)
{
if (prog) {
init_program_struct(&prog->Base, target, id);
@@ -282,8 +284,8 @@ _mesa_init_vertex_program( struct gl_context *ctx, struct gl_vertex_program *pro
*/
struct gl_program *
_mesa_init_compute_program(struct gl_context *ctx,
- struct gl_compute_program *prog, GLenum target,
- GLuint id)
+ struct gl_compute_program *prog,
+ GLenum target, GLuint id)
{
if (prog) {
init_program_struct(&prog->Base, target, id);
@@ -297,8 +299,9 @@ _mesa_init_compute_program(struct gl_context *ctx,
* Initialize a new geometry program object.
*/
struct gl_program *
-_mesa_init_geometry_program( struct gl_context *ctx, struct gl_geometry_program *prog,
- GLenum target, GLuint id)
+_mesa_init_geometry_program(struct gl_context *ctx,
+ struct gl_geometry_program *prog,
+ GLenum target, GLuint id)
{
if (prog) {
init_program_struct(&prog->Base, target, id);