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>
Thu, 8 Jan 2009 12:05:20 +0000 (12:05 +0000)
commit73d02d70b8c98c0e64e7816795565ed5f5bf3639
tree42db029c54e48c2a8c183345a28cfb90b6081f18
parente59eb5fc969777ea9590af3710c3ec9373ce043b
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