From 5246c389e56f059096a896c9b17ad0b31f8514b4 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 19 Feb 2009 13:15:25 +0000 Subject: wgl: debug_printf in the main entry/exit points --- src/gallium/state_trackers/wgl/shared/stw_device.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium') diff --git a/src/gallium/state_trackers/wgl/shared/stw_device.c b/src/gallium/state_trackers/wgl/shared/stw_device.c index 4d705b4682..097e6ea62b 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_device.c +++ b/src/gallium/state_trackers/wgl/shared/stw_device.c @@ -60,6 +60,8 @@ st_init(const struct stw_winsys *stw_winsys) { static struct stw_device stw_dev_storage; + debug_printf("%s\n", __FUNCTION__); + assert(!stw_dev); stw_dev = &stw_dev_storage; @@ -94,6 +96,8 @@ st_cleanup(void) { UINT_PTR i; + debug_printf("%s\n", __FUNCTION__); + if (!stw_dev) return; -- cgit v1.2.3