Commit 9d008641 authored by unknown's avatar unknown

libgl-gdi: Use proper unwrap functions for resources.

parent 251a5cdd
......@@ -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);
}
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment