Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d6b432b0
Commit
d6b432b0
authored
Nov 07, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of client_memory from wineD3DSurface_DIB.
parent
896aaa67
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
17 deletions
+0
-17
surface.c
dlls/wined3d/surface.c
+0
-8
swapchain.c
dlls/wined3d/swapchain.c
+0
-8
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-1
No files found.
dlls/wined3d/surface.c
View file @
d6b432b0
...
...
@@ -4800,14 +4800,6 @@ void flip_surface(struct wined3d_surface *front, struct wined3d_surface *back)
back
->
pbo
=
tmp_pbo
;
}
/* client_memory should not be different, but just in case */
{
BOOL
tmp
;
tmp
=
front
->
dib
.
client_memory
;
front
->
dib
.
client_memory
=
back
->
dib
.
client_memory
;
back
->
dib
.
client_memory
=
tmp
;
}
/* Flip the opengl texture */
{
GLuint
tmp
;
...
...
dlls/wined3d/swapchain.c
View file @
d6b432b0
...
...
@@ -787,14 +787,6 @@ static HRESULT swapchain_gdi_present(struct wined3d_swapchain *swapchain, const
ERR
(
"GDI Surface %p has heap memory allocated.
\n
"
,
back
);
}
/* Client_memory should not be different, but just in case. */
{
BOOL
tmp
;
tmp
=
front
->
dib
.
client_memory
;
front
->
dib
.
client_memory
=
back
->
dib
.
client_memory
;
back
->
dib
.
client_memory
=
tmp
;
}
/* FPS support */
if
(
TRACE_ON
(
fps
))
{
...
...
dlls/wined3d/wined3d_private.h
View file @
d6b432b0
...
...
@@ -1949,7 +1949,6 @@ typedef struct wineD3DSurface_DIB {
HBITMAP
DIBsection
;
void
*
bitmap_data
;
UINT
bitmap_size
;
BOOL
client_memory
;
}
wineD3DSurface_DIB
;
struct
wined3d_renderbuffer_entry
...
...
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