diff options
author | Jon Smirl <jonsmirl@gmail.com> | 2005-05-20 01:17:38 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@gmail.com> | 2005-05-20 01:17:38 +0000 |
commit | bab559b1fa2db0127bd7ff4f89d34f8df52c6dab (patch) | |
tree | 1b001c831c1186d01495e3295a4c5bb498cb9354 /src/mesa | |
parent | 8f8e0f0b01c3662f0ebddebf97aa57fddc5397bf (diff) |
Remove some debug output
Add #if DEBUG_FRAG in s_nvfragprog.c
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/fb/fb_egl.c | 2 | ||||
-rw-r--r-- | src/mesa/swrast/s_nvfragprog.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/fb/fb_egl.c b/src/mesa/drivers/dri/fb/fb_egl.c index bdc8f71993..1e82f2179d 100644 --- a/src/mesa/drivers/dri/fb/fb_egl.c +++ b/src/mesa/drivers/dri/fb/fb_egl.c @@ -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; } diff --git a/src/mesa/swrast/s_nvfragprog.c b/src/mesa/swrast/s_nvfragprog.c index 88fe9899d8..8a2c4464ac 100644 --- a/src/mesa/swrast/s_nvfragprog.c +++ b/src/mesa/swrast/s_nvfragprog.c @@ -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; |