summaryrefslogtreecommitdiff
path: root/src/gallium/targets/libgl-gdi/gdi_llvmpipe_winsys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/libgl-gdi/gdi_llvmpipe_winsys.c')
-rw-r--r--src/gallium/targets/libgl-gdi/gdi_llvmpipe_winsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/libgl-gdi/gdi_llvmpipe_winsys.c b/src/gallium/targets/libgl-gdi/gdi_llvmpipe_winsys.c
index 29316a1ce2..58c941a03b 100644
--- a/src/gallium/targets/libgl-gdi/gdi_llvmpipe_winsys.c
+++ b/src/gallium/targets/libgl-gdi/gdi_llvmpipe_winsys.c
@@ -83,7 +83,7 @@ gdi_llvmpipe_present(struct pipe_screen *screen,
* other structs such as this stw_winsys as well...
*/
gdi_sw_display(llvmpipe_screen(screen)->winsys,
- llvmpipe_texture(surface->texture)->dt,
+ llvmpipe_resource(surface->texture)->dt,
hDC);
}