Re: Get rid of DPRINTF in x11drv/opengl.c

2004-12-30 Thread Dimitrie O. Paun
On Thu, Dec 30, 2004 at 12:04:23PM +0100, Diego 'Flameeyes' Pettenò wrote: I had some spare time, and I wanted to do some mostly non-designing code, so I took the time to look at wine's janitorial projects, and I took a look at the DPRINTF - TRACE conversion. The attached patch removes

Re: Get rid of DPRINTF in x11drv/opengl.c

2004-12-30 Thread Lionel Ulmer
On Thu, Dec 30, 2004 at 11:10:19AM -0500, Dimitrie O. Paun wrote: The way to do it is to prepare the output in a memory buffer, and output it at once. This can be done with the wine_dbg_sprintf() function. In cases where you need logic to construct the output (like testing for flags, etc), you