diff options
author | Keith Whitwell <[email protected]> | 2005-05-10 18:09:17 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-05-10 18:09:17 +0000 |
commit | 3ffe8731e6cc07692be5ba1114d080bd4383477c (patch) | |
tree | f09fe758c68a2d6ed5ff9f6ba50e970572418863 /src/mesa/main | |
parent | c5f5055097e8fa23e8ba8bd39b0d9b747148c996 (diff) |
Double-buffer generated instructions and only notify driver when the
generated program differs from the previous one.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/texenvprogram.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index eb7842cdf1c..caedb20af12 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -789,7 +789,6 @@ void _mesa_UpdateTexEnvProgram( GLcontext *ctx ) db_NumInstructions != p.program->Base.NumInstructions || memcmp(db_Instructions, p.program->Instructions, db_NumInstructions * sizeof(*db_Instructions)) != 0) { - _mesa_printf("new program string\n"); ctx->Driver.ProgramStringNotify( ctx, GL_FRAGMENT_PROGRAM_ARB, &p.program->Base ); } |