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
2db1e421
Commit
2db1e421
authored
Mar 10, 2007
by
Jan Zerebecki
Committed by
Alexandre Julliard
Mar 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Add DebugInfo to critical sections.
parent
4c4821e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
dib.c
dlls/winex11.drv/dib.c
+2
-0
No files found.
dlls/winex11.drv/dib.c
View file @
2db1e421
...
@@ -4608,6 +4608,7 @@ HBITMAP X11DRV_CreateDIBSection( X11DRV_PDEVICE *physDev, HBITMAP hbitmap,
...
@@ -4608,6 +4608,7 @@ HBITMAP X11DRV_CreateDIBSection( X11DRV_PDEVICE *physDev, HBITMAP hbitmap,
/* install fault handler */
/* install fault handler */
InitializeCriticalSection
(
&
physBitmap
->
lock
);
InitializeCriticalSection
(
&
physBitmap
->
lock
);
physBitmap
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": X_PHYSBITMAP.lock"
);
physBitmap
->
base
=
dib
.
dsBm
.
bmBits
;
physBitmap
->
base
=
dib
.
dsBm
.
bmBits
;
physBitmap
->
size
=
dib
.
dsBmih
.
biSizeImage
;
physBitmap
->
size
=
dib
.
dsBmih
.
biSizeImage
;
...
@@ -4663,6 +4664,7 @@ void X11DRV_DIB_DeleteDIBSection(X_PHYSBITMAP *physBitmap, DIBSECTION *dib)
...
@@ -4663,6 +4664,7 @@ void X11DRV_DIB_DeleteDIBSection(X_PHYSBITMAP *physBitmap, DIBSECTION *dib)
}
}
HeapFree
(
GetProcessHeap
(),
0
,
physBitmap
->
colorMap
);
HeapFree
(
GetProcessHeap
(),
0
,
physBitmap
->
colorMap
);
physBitmap
->
lock
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
physBitmap
->
lock
);
DeleteCriticalSection
(
&
physBitmap
->
lock
);
}
}
...
...
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