projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
636d4db
)
remove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram...
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 20 Jun 2004 20:55:36 +0000
(20:55 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 20 Jun 2004 20:55:36 +0000
(20:55 +0000)
src/mesa/shader/program.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/program.c
b/src/mesa/shader/program.c
index 2b458fe525a6f885d637fc8d11aeb2b1ef811724..b58b5e003d2b760f5923dff68832158134a77b1b 100644
(file)
--- a/
src/mesa/shader/program.c
+++ b/
src/mesa/shader/program.c
@@
-907,10
+907,6
@@
_mesa_BindProgram(GLenum target, GLuint id)
_mesa_error(ctx, GL_OUT_OF_MEMORY, "glBindProgramNV/ARB");
return;
}
- prog->Id = id;
- prog->Target = target;
- prog->Resident = GL_TRUE;
- prog->RefCount = 1;
_mesa_HashInsert(ctx->Shared->Programs, id, prog);
}
}