diff options
author | Zack Rusin <zackr@vmware.com> | 2009-02-02 23:54:28 -0500 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2009-02-02 23:54:28 -0500 |
commit | e0c3b4970da052308bf7b4e5cbe9186a4b8321db (patch) | |
tree | 6f5b0e1749a748dd87d81380b186efa34fffcd02 /src/gallium/winsys | |
parent | 5069bfed29bcee2c89c36c74c6d65d388eb7792e (diff) |
gallium: adjust gdi for the latest changes
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/gdi/gdi_softpipe_winsys.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/gdi/gdi_softpipe_winsys.c b/src/gallium/winsys/gdi/gdi_softpipe_winsys.c index 2136cd5f83..4924dbf26a 100644 --- a/src/gallium/winsys/gdi/gdi_softpipe_winsys.c +++ b/src/gallium/winsys/gdi/gdi_softpipe_winsys.c @@ -45,6 +45,7 @@ #include "util/u_math.h" #include "util/u_memory.h" #include "softpipe/sp_winsys.h" +#include "softpipe/sp_texture.h" #include "shared/stw_winsys.h" @@ -275,7 +276,7 @@ gdi_softpipe_flush_frontbuffer(struct pipe_screen *screen, struct gdi_softpipe_buffer *buffer; BITMAPINFO bmi; - buffer = gdi_softpipe_buffer(surface->buffer); + buffer = gdi_softpipe_buffer(softpipe_texture(surface->texture)->buffer); memset(&bmi, 0, sizeof(BITMAPINFO)); bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); |