aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2020-05-06 15:33:37 +0200
committerMarge Bot <[email protected]>2020-05-07 13:34:30 +0000
commit7ba2333cc17e7f0a1520866bcfd60a991d34295e (patch)
tree3b3519a9e70cbf26be007e103b360d982b4b51c1 /src/gallium
parent905edc376dd1ace6ac2af0fc351606210a0141a1 (diff)
util/os_memory: never use os_memory_debug.h
This is currently broken hard, because this code is being used in more places that it used to be, and fixing that is prohibitively hard right now. This is far from ideal, as it leaves the same inconsistency in the EMBEDDED_DEVICE code-path. But that only used by VMWare, so it's probably better if they fix it, as they know their requirements better than we do. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2911 Fixes: 76f79db3f5d ("util: stop including files from mesa/main") Acked-by: Jose Fonseca <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4919>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/wgl/stw_device.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_device.c b/src/gallium/state_trackers/wgl/stw_device.c
index b4cf7b7d667..f5064da9f29 100644
--- a/src/gallium/state_trackers/wgl/stw_device.c
+++ b/src/gallium/state_trackers/wgl/stw_device.c
@@ -112,10 +112,6 @@ stw_init(const struct stw_winsys *stw_winsys)
stw_dev = &stw_dev_storage;
memset(stw_dev, 0, sizeof(*stw_dev));
-#ifdef DEBUG
- stw_dev->memdbg_no = debug_memory_begin();
-#endif
-
stw_dev->stw_winsys = stw_winsys;
stw_dev->stapi = stw_st_create_api();
@@ -230,10 +226,6 @@ stw_cleanup(void)
_glapi_destroy_multithread();
#endif
-#ifdef DEBUG
- debug_memory_end(stw_dev->memdbg_no);
-#endif
-
stw_tls_cleanup();
stw_dev = NULL;