diff options
author | José Fonseca <[email protected]> | 2009-02-19 13:15:25 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-02-19 13:29:05 +0000 |
commit | 5246c389e56f059096a896c9b17ad0b31f8514b4 (patch) | |
tree | 0216d0a9971c40928efe924d88bafbcf5bbda2c1 | |
parent | 85b0c171c04c00b4ca9e11a1c79872f5e0cbaf9c (diff) |
wgl: debug_printf in the main entry/exit points
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_device.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_device.c b/src/gallium/state_trackers/wgl/shared/stw_device.c index 4d705b46825..097e6ea62b3 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; |