wgl: Do not provide DllMain inside the state tracker.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 6 Jan 2009 16:45:12 +0000 (16:45 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 6 Jan 2009 18:23:17 +0000 (18:23 +0000)
commit5da0401398239a2b445e11945144d073d77f0f03
treef27d6b2e9b60f4548a51b2e35c04e7a607601560
parenta40ad7ded44e8331ccd9a6d477a2f1716baf6d16
wgl: Do not provide DllMain inside the state tracker.

MS CRT libraries already provide a default DllMain entrypoint, and
MS Linker will complain if it finds the same symbol in two different
libraries. Therefore the DllMain has to be in (each) winsys.
src/gallium/winsys/gdi/gdi_softpipe_winsys.c
src/mesa/state_tracker/wgl/stw_device.c
src/mesa/state_tracker/wgl/stw_device.h
src/mesa/state_tracker/wgl/stw_wgl_context.c
src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c
src/mesa/state_tracker/wgl/stw_winsys.h