Commit e650da35 authored by Alexandre Julliard's avatar Alexandre Julliard

gdi32: Get rid of the driver module in the DC.

parent 74efeab2
...@@ -131,7 +131,6 @@ DC *alloc_dc_ptr( WORD magic ) ...@@ -131,7 +131,6 @@ DC *alloc_dc_ptr( WORD magic )
dc->nulldrv.funcs = &null_driver; dc->nulldrv.funcs = &null_driver;
dc->physDev = &dc->nulldrv; dc->physDev = &dc->nulldrv;
dc->module = gdi32_module;
dc->thread = GetCurrentThreadId(); dc->thread = GetCurrentThreadId();
dc->refcount = 1; dc->refcount = 1;
dc->hPen = GDI_inc_ref_count( GetStockObject( BLACK_PEN )); dc->hPen = GDI_inc_ref_count( GetStockObject( BLACK_PEN ));
...@@ -649,7 +648,6 @@ HDC WINAPI CreateDCW( LPCWSTR driver, LPCWSTR device, LPCWSTR output, ...@@ -649,7 +648,6 @@ HDC WINAPI CreateDCW( LPCWSTR driver, LPCWSTR device, LPCWSTR output,
if (!(dc = alloc_dc_ptr( OBJ_DC ))) return 0; if (!(dc = alloc_dc_ptr( OBJ_DC ))) return 0;
hdc = dc->hSelf; hdc = dc->hSelf;
dc->module = module;
dc->hBitmap = GDI_inc_ref_count( GetStockObject( DEFAULT_BITMAP )); dc->hBitmap = GDI_inc_ref_count( GetStockObject( DEFAULT_BITMAP ));
TRACE("(driver=%s, device=%s, output=%s): returning %p\n", TRACE("(driver=%s, device=%s, output=%s): returning %p\n",
......
...@@ -69,7 +69,6 @@ typedef struct tagDC ...@@ -69,7 +69,6 @@ typedef struct tagDC
struct tagDC *saved_dc; struct tagDC *saved_dc;
DWORD_PTR dwHookData; DWORD_PTR dwHookData;
DCHOOKPROC hookProc; /* DC hook */ DCHOOKPROC hookProc; /* DC hook */
HMODULE module; /* module handle of the graphics driver */
BOOL bounds_enabled:1; /* bounds tracking is enabled */ BOOL bounds_enabled:1; /* bounds tracking is enabled */
BOOL path_open:1; /* path is currently open (only for saved DCs) */ BOOL path_open:1; /* path is currently open (only for saved DCs) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment