summaryrefslogtreecommitdiff
path: root/src/gallium/targets/libgl-gdi/gdi_softpipe_winsys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/libgl-gdi/gdi_softpipe_winsys.c')
-rw-r--r--src/gallium/targets/libgl-gdi/gdi_softpipe_winsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/libgl-gdi/gdi_softpipe_winsys.c b/src/gallium/targets/libgl-gdi/gdi_softpipe_winsys.c
index dfe60195d9..4ac507ff9c 100644
--- a/src/gallium/targets/libgl-gdi/gdi_softpipe_winsys.c
+++ b/src/gallium/targets/libgl-gdi/gdi_softpipe_winsys.c
@@ -83,7 +83,7 @@ gdi_softpipe_present(struct pipe_screen *screen,
* other structs such as this stw_winsys as well...
*/
gdi_sw_display(softpipe_screen(screen)->winsys,
- softpipe_texture(surface->texture)->dt,
+ softpipe_resource(surface->texture)->dt,
hDC);
}