wined3d: Move the MAXLOCKCOUNT constant to surface.c.
This commit is contained in:
parent
c71bbc7d24
commit
2d23913186
|
@ -34,6 +34,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d_surface);
|
|||
WINE_DECLARE_DEBUG_CHANNEL(d3d_perf);
|
||||
WINE_DECLARE_DEBUG_CHANNEL(d3d);
|
||||
|
||||
#define MAXLOCKCOUNT 50 /* After this amount of locks do not free the sysmem copy. */
|
||||
|
||||
static HRESULT surface_cpu_blt(struct wined3d_surface *dst_surface, const RECT *dst_rect,
|
||||
struct wined3d_surface *src_surface, const RECT *src_rect, DWORD flags,
|
||||
const WINEDDBLTFX *fx, enum wined3d_texture_filter_type filter);
|
||||
|
|
|
@ -2207,7 +2207,6 @@ struct wined3d_surface
|
|||
RECT lockedRect;
|
||||
RECT dirtyRect;
|
||||
int lockCount;
|
||||
#define MAXLOCKCOUNT 50 /* After this amount of locks do not free the sysmem copy */
|
||||
|
||||
/* For GetDC */
|
||||
struct wined3d_surface_dib dib;
|
||||
|
|
Loading…
Reference in New Issue