OSDN Git Service

wgl: debug_printf in the main entry/exit points
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 19 Feb 2009 13:15:25 +0000 (13:15 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 19 Feb 2009 13:29:05 +0000 (13:29 +0000)
src/gallium/state_trackers/wgl/shared/stw_device.c

index 4d705b4..097e6ea 100644 (file)
@@ -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;