projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac8620f
)
check for target instead of program->Target in _tnl_program_string, avoids segfault...
author
Roland Scheidegger
<rscheidegger@gmx.ch>
Wed, 29 Nov 2006 22:16:16 +0000
(22:16 +0000)
committer
Roland Scheidegger
<rscheidegger@gmx.ch>
Wed, 29 Nov 2006 22:16:16 +0000
(22:16 +0000)
src/mesa/tnl/t_vb_arbprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vb_arbprogram.c
b/src/mesa/tnl/t_vb_arbprogram.c
index 71fb45dd95c1b7c6cac7b9e9f7d2a2c1cc801d26..bf4c1d52237c4e9fb0f39bdb8778d473017542e8 100644
(file)
--- a/
src/mesa/tnl/t_vb_arbprogram.c
+++ b/
src/mesa/tnl/t_vb_arbprogram.c
@@
-1529,7
+1529,7
@@
const struct tnl_pipeline_stage _tnl_arb_vertex_program_stage =
void
_tnl_program_string(GLcontext *ctx, GLenum target, struct gl_program *program)
{
- if (
program->T
arget == GL_VERTEX_PROGRAM_ARB) {
+ if (
t
arget == GL_VERTEX_PROGRAM_ARB) {
/* free any existing tnl data hanging off the program */
struct gl_vertex_program *vprog = (struct gl_vertex_program *) program;
if (vprog->TnlData) {