Remove some debug output

Add #if DEBUG_FRAG in s_nvfragprog.c
This commit is contained in:
Jon Smirl
2005-05-20 01:17:38 +00:00
parent 8f8e0f0b01
commit bab559b1fa
2 changed files with 2 additions and 2 deletions

View File

@@ -453,7 +453,6 @@ fbCreateContext(_EGLDriver *drv, EGLDisplay dpy, EGLConfig config, EGLContext sh
c->Base.Config = conf; c->Base.Config = conf;
c->Base.DrawSurface = EGL_NO_SURFACE; c->Base.DrawSurface = EGL_NO_SURFACE;
c->Base.ReadSurface = EGL_NO_SURFACE; c->Base.ReadSurface = EGL_NO_SURFACE;
printf("fbCreateContext\n");
/* generate handle and insert into hash table */ /* generate handle and insert into hash table */
_eglSaveContext(&c->Base); _eglSaveContext(&c->Base);
@@ -640,7 +639,6 @@ fbMakeCurrent(_EGLDriver *drv, EGLDisplay dpy, EGLSurface draw, EGLSurface read,
} else } else
_mesa_make_current( NULL, NULL, NULL ); _mesa_make_current( NULL, NULL, NULL );
printf("eglMakeCurrent()\n");
return EGL_TRUE; return EGL_TRUE;
} }

View File

@@ -1192,8 +1192,10 @@ execute_program( GLcontext *ctx,
fetch_texel( ctx, texcoord, fetch_texel( ctx, texcoord,
span->array->lambda[inst->TexSrcUnit][column], span->array->lambda[inst->TexSrcUnit][column],
inst->TexSrcUnit, color ); inst->TexSrcUnit, color );
#if DEBUG_FRAG
if (color[3]) if (color[3])
printf("color[3] = %f\n", color[3]); printf("color[3] = %f\n", color[3]);
#endif
store_vector4( inst, machine, color ); store_vector4( inst, machine, color );
} }
break; break;