diff options
author | José Fonseca <[email protected]> | 2009-01-14 11:39:12 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-01-14 11:40:32 +0000 |
commit | d96c89e57916ffcc72742107caaa3a90f2b78a80 (patch) | |
tree | fd2b31a66fbed4f3567854775350c76a934eb25c /src | |
parent | eb1f01a9d9543e241adf9e2d6bb776c991a4f05b (diff) |
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..
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/util/u_memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_memory.h b/src/gallium/auxiliary/util/u_memory.h index 626b13af83d..1a6b596421f 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 */ |