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
e650da35
Commit
e650da35
authored
Oct 29, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Get rid of the driver module in the DC.
parent
74efeab2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
dc.c
dlls/gdi32/dc.c
+0
-2
gdi_private.h
dlls/gdi32/gdi_private.h
+0
-1
No files found.
dlls/gdi32/dc.c
View file @
e650da35
...
...
@@ -131,7 +131,6 @@ DC *alloc_dc_ptr( WORD magic )
dc
->
nulldrv
.
funcs
=
&
null_driver
;
dc
->
physDev
=
&
dc
->
nulldrv
;
dc
->
module
=
gdi32_module
;
dc
->
thread
=
GetCurrentThreadId
();
dc
->
refcount
=
1
;
dc
->
hPen
=
GDI_inc_ref_count
(
GetStockObject
(
BLACK_PEN
));
...
...
@@ -649,7 +648,6 @@ HDC WINAPI CreateDCW( LPCWSTR driver, LPCWSTR device, LPCWSTR output,
if
(
!
(
dc
=
alloc_dc_ptr
(
OBJ_DC
)))
return
0
;
hdc
=
dc
->
hSelf
;
dc
->
module
=
module
;
dc
->
hBitmap
=
GDI_inc_ref_count
(
GetStockObject
(
DEFAULT_BITMAP
));
TRACE
(
"(driver=%s, device=%s, output=%s): returning %p
\n
"
,
...
...
dlls/gdi32/gdi_private.h
View file @
e650da35
...
...
@@ -69,7 +69,6 @@ typedef struct tagDC
struct
tagDC
*
saved_dc
;
DWORD_PTR
dwHookData
;
DCHOOKPROC
hookProc
;
/* DC hook */
HMODULE
module
;
/* module handle of the graphics driver */
BOOL
bounds_enabled
:
1
;
/* bounds tracking is enabled */
BOOL
path_open
:
1
;
/* path is currently open (only for saved DCs) */
...
...
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