diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-01-06 16:45:12 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-01-08 12:05:20 +0000 |
commit | 73d02d70b8c98c0e64e7816795565ed5f5bf3639 (patch) | |
tree | 42db029c54e48c2a8c183345a28cfb90b6081f18 /src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c | |
parent | e59eb5fc969777ea9590af3710c3ec9373ce043b (diff) |
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.
Diffstat (limited to 'src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c')
-rw-r--r-- | src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c b/src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c index 794259123a..bd86501ac0 100644 --- a/src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c +++ b/src/mesa/state_tracker/wgl/stw_wgl_swapbuffers.c @@ -55,9 +55,9 @@ wglSwapBuffers( surf = st_get_framebuffer_surface( fb->stfb, ST_SURFACE_BACK_LEFT ); - stw_winsys.flush_frontbuffer(stw_dev->screen->winsys, - surf, - hdc ); + stw_dev->stw_winsys->flush_frontbuffer(stw_dev->screen->winsys, + surf, + hdc ); return TRUE; } |