Changed TRANSPARENT to CLEAR (TRANSPARENT is a #define in wingdi.h)
integrated texture_manager