Remove some debug output
authorJon Smirl <jonsmirl@gmail.com>
Fri, 20 May 2005 01:17:38 +0000 (01:17 +0000)
committerJon Smirl <jonsmirl@gmail.com>
Fri, 20 May 2005 01:17:38 +0000 (01:17 +0000)
Add #if DEBUG_FRAG in s_nvfragprog.c

src/mesa/drivers/dri/fb/fb_egl.c
src/mesa/swrast/s_nvfragprog.c

index bdc8f71993cbf9a80232c54e951ea7f6627f185f..1e82f2179d4d08a0d950becc0452e27a5b3a5657 100644 (file)
@@ -453,7 +453,6 @@ fbCreateContext(_EGLDriver *drv, EGLDisplay dpy, EGLConfig config, EGLContext sh
    c->Base.Config = conf;
    c->Base.DrawSurface = EGL_NO_SURFACE;
    c->Base.ReadSurface = EGL_NO_SURFACE;
-   printf("fbCreateContext\n");
 
    /* generate handle and insert into hash table */
    _eglSaveContext(&c->Base);
@@ -640,7 +639,6 @@ fbMakeCurrent(_EGLDriver *drv, EGLDisplay dpy, EGLSurface draw, EGLSurface read,
    } else
       _mesa_make_current( NULL, NULL, NULL );
 
-   printf("eglMakeCurrent()\n");
    return EGL_TRUE;
 }
 
index 88fe9899d8de96bb17f22d0e46e20eb31ff3066b..8a2c4464ac0108da5cf187f1ad9fd4902be4c369 100644 (file)
@@ -1192,8 +1192,10 @@ execute_program( GLcontext *ctx,
                fetch_texel( ctx, texcoord, 
                            span->array->lambda[inst->TexSrcUnit][column],
                            inst->TexSrcUnit, color );
+#if DEBUG_FRAG
                if (color[3])
                   printf("color[3] = %f\n", color[3]);
+#endif
                store_vector4( inst, machine, color );
             }
             break;