wgl: debug_printf in the main entry/exit points

This commit is contained in:
José Fonseca 2009-02-19 13:15:25 +00:00
parent 85b0c171c0
commit 5246c389e5

View 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;