Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2d239131
Commit
2d239131
authored
Sep 02, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Move the MAXLOCKCOUNT constant to surface.c.
parent
c71bbc7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
surface.c
dlls/wined3d/surface.c
+2
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-1
No files found.
dlls/wined3d/surface.c
View file @
2d239131
...
...
@@ -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
);
...
...
dlls/wined3d/wined3d_private.h
View file @
2d239131
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment