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
7e2e30ba
Commit
7e2e30ba
authored
May 12, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Make sure the DC is up-to-date before accessing the pixel format.
parent
d5ccbe2b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
opengl.c
dlls/gdi32/opengl.c
+1
-0
painting.c
dlls/gdi32/painting.c
+2
-0
No files found.
dlls/gdi32/opengl.c
View file @
7e2e30ba
...
...
@@ -253,6 +253,7 @@ static BOOL WINAPI wglSetPixelFormatWINE(HDC hdc, int iPixelFormat, const PIXELF
if
(
!
dc
)
return
0
;
update_dc
(
dc
);
if
(
!
dc
->
funcs
->
pwglSetPixelFormatWINE
)
FIXME
(
" :stub
\n
"
);
else
bRet
=
dc
->
funcs
->
pwglSetPixelFormatWINE
(
dc
->
physDev
,
iPixelFormat
,
ppfd
);
...
...
dlls/gdi32/painting.c
View file @
7e2e30ba
...
...
@@ -372,6 +372,7 @@ BOOL WINAPI SetPixelFormat( HDC hdc, INT iPixelFormat,
if
(
!
dc
)
return
0
;
update_dc
(
dc
);
if
(
!
dc
->
funcs
->
pSetPixelFormat
)
FIXME
(
" :stub
\n
"
);
else
bRet
=
dc
->
funcs
->
pSetPixelFormat
(
dc
->
physDev
,
iPixelFormat
,
ppfd
);
...
...
@@ -433,6 +434,7 @@ INT WINAPI DescribePixelFormat( HDC hdc, INT iPixelFormat, UINT nBytes,
if
(
!
dc
)
return
0
;
update_dc
(
dc
);
if
(
!
dc
->
funcs
->
pDescribePixelFormat
)
{
FIXME
(
" :stub
\n
"
);
...
...
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