From: Brian Date: Fri, 28 Sep 2007 22:20:10 +0000 (-0600) Subject: remove old debug code, fix warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbcbd362a94386f2a19570dc09ec74c9ef4db067;p=mesa.git remove old debug code, fix warning --- diff --git a/src/mesa/state_tracker/st_atom_constbuf.c b/src/mesa/state_tracker/st_atom_constbuf.c index 5285485c949..d140e0ef50b 100644 --- a/src/mesa/state_tracker/st_atom_constbuf.c +++ b/src/mesa/state_tracker/st_atom_constbuf.c @@ -65,20 +65,9 @@ static void upload_constants( struct st_context *st, if (0) { - int i; - printf("%s(shader=%d, numParams=%d, stateFlags=0x%x)\n", __FUNCTION__, id, params->NumParameters, params->StateFlags); - _mesa_print_parameter_list(params); - /* - for (i = 0; i < params->NumParameters; i++) - printf("%d: %f %f %f %f\n", i, - params->ParameterValues[i][0], - params->ParameterValues[i][1], - params->ParameterValues[i][2], - params->ParameterValues[i][3]); - */ } /* load Mesa constants into the constant buffer */