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
ded15757
Commit
ded15757
authored
Mar 18, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Remove the function table pointer from the DC structure.
parent
3d34f01f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
dc.c
dlls/gdi32/dc.c
+0
-3
gdi_private.h
dlls/gdi32/gdi_private.h
+0
-1
No files found.
dlls/gdi32/dc.c
View file @
ded15757
...
...
@@ -77,7 +77,6 @@ DC *alloc_dc_ptr( WORD magic )
if
(
!
(
dc
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
dc
)
)))
return
NULL
;
dc
->
funcs
=
&
null_driver
;
dc
->
nulldrv
.
funcs
=
&
null_driver
;
dc
->
nulldrv
.
next
=
NULL
;
dc
->
physDev
=
&
dc
->
nulldrv
;
...
...
@@ -252,7 +251,6 @@ void push_dc_driver( DC * dc, PHYSDEV physdev, const DC_FUNCTIONS *funcs )
physdev
->
next
=
dc
->
physDev
;
physdev
->
hdc
=
dc
->
hSelf
;
dc
->
physDev
=
physdev
;
dc
->
funcs
=
physdev
->
funcs
;
}
...
...
@@ -266,7 +264,6 @@ void pop_dc_driver( DC * dc, PHYSDEV physdev )
assert
(
physdev
==
dc
->
physDev
);
assert
(
physdev
!=
&
dc
->
nulldrv
);
dc
->
physDev
=
physdev
->
next
;
dc
->
funcs
=
dc
->
physDev
->
funcs
;
physdev
->
funcs
->
pDeleteDC
(
physdev
);
}
...
...
dlls/gdi32/gdi_private.h
View file @
ded15757
...
...
@@ -246,7 +246,6 @@ typedef struct tagDC
GDIOBJHDR
header
;
HDC
hSelf
;
/* Handle to this DC */
struct
gdi_physdev
nulldrv
;
/* physdev for the null driver */
const
struct
tagDC_FUNCS
*
funcs
;
/* DC function table */
PHYSDEV
physDev
;
/* Physical device (driver-specific) */
DWORD
thread
;
/* thread owning the DC */
LONG
refcount
;
/* thread refcount */
...
...
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