On 6 July 2015 at 23:47, Stefan Dösinger stefan@codeweavers.com wrote:
+/* Locks a given surface and returns the color at (x,y). It's the caller's
- responsibility to only pass in lockable surfaces and valid x,y coordinates */
+static DWORD get_pixel_color_from_surface(IDirect3DSurface8 *surface, UINT x, UINT y)
In ddraw this is called get_surface_color(), the equivalent d3d10core function is called get_texture_color().