Somewhat barebones patch to implement D3DXCreateRenderToSurface for bug 24899, how much more needs to be implemented?

Chris Robinson chris.kcat at
Thu Feb 17 19:53:15 CST 2011

FWIW, I had implemented this a few years ago with my (long defunct) Linux-D3D 
project. I've attached what I had.

It's written in C++, but converting it to C shouldn't be too difficult. It 
hasn't had any real testing, so I can't say how good of an implementation it 
is (I only implemented it to satisfy a simple demo app), but perhaps it may be 
a good starting point.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rendertosurface.cpp
Type: text/x-c++src
Size: 7590 bytes
Desc: not available
URL: <>

More information about the wine-devel mailing list