summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <michal@.(none)>2010-04-09 18:04:33 +0200
committerunknown <michal@.(none)>2010-04-09 18:08:15 +0200
commit9d0086411a104b7cc9297aac0d1f82853118d7bf (patch)
treeaafa35e07b4b63dedca245a2d0e64e619eec0f6e
parent251a5cdd18ba31c690ef61f133dfc65cd4a45cf8 (diff)
libgl-gdi: Use proper unwrap functions for resources.
-rw-r--r--src/gallium/targets/libgl-gdi/gdi_llvmpipe_winsys.c2
-rw-r--r--src/gallium/targets/libgl-gdi/gdi_softpipe_winsys.c2
2 files changed, 2 insertions, 2 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);
}
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);
}