From: José Fonseca Date: Wed, 14 Jan 2009 11:39:12 +0000 (+0000) Subject: gallium: Disable memory debugging for Windows OGL. X-Git-Tag: mesa-7.8~4139^2~496^2~115^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d96c89e57916ffcc72742107caaa3a90f2b78a80;p=platform%2Fupstream%2Fmesa.git gallium: Disable memory debugging for Windows OGL. Unfortunately both Mesa and Gallium use the same defines for memory allocation (MALLOC, FREE, etc), and worse, some times memory is allocated with one set and freed with the other set, causing the homegrown memory debugger to trip on itself. In the future mesa and gallium should use different names, but for now, memory debugging on Windows will have to be carried with different tools.. --- diff --git a/src/gallium/auxiliary/util/u_memory.h b/src/gallium/auxiliary/util/u_memory.h index 626b13a..1a6b596 100644 --- a/src/gallium/auxiliary/util/u_memory.h +++ b/src/gallium/auxiliary/util/u_memory.h @@ -52,7 +52,7 @@ extern "C" { #endif -#if defined(PIPE_OS_WINDOWS) && defined(DEBUG) +#if defined(PIPE_SUBSYSTEM_WINDOWS_DISPLAY) && defined(DEBUG) /* memory debugging */