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
43b88589
Commit
43b88589
authored
Jul 31, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 31, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Avoid TRUE:FALSE conditional expressions.
parent
6740d340
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
opengl.c
dlls/winex11.drv/opengl.c
+3
-3
No files found.
dlls/winex11.drv/opengl.c
View file @
43b88589
...
...
@@ -1132,7 +1132,7 @@ static GLXContext create_glxcontext(Display *display, struct wgl_context *contex
GLXContext
ctx
;
/* We use indirect rendering for rendering to bitmaps. See get_formats for a comment about this. */
BOOL
indirect
=
(
context
->
fmt
->
dwFlags
&
PFD_DRAW_TO_BITMAP
)
?
FALSE
:
TRUE
;
BOOL
indirect
=
!
(
context
->
fmt
->
dwFlags
&
PFD_DRAW_TO_BITMAP
)
;
if
(
context
->
gl3_context
)
{
...
...
@@ -2424,12 +2424,12 @@ static BOOL X11DRV_wglGetPixelFormatAttribivARB( HDC hdc, int iPixelFormat, int
case
WGL_SUPPORT_GDI_ARB
:
if
(
!
fmt
)
goto
pix_error
;
piValues
[
i
]
=
(
fmt
->
dwFlags
&
PFD_SUPPORT_GDI
)
?
TRUE
:
FALSE
;
piValues
[
i
]
=
(
fmt
->
dwFlags
&
PFD_SUPPORT_GDI
)
!=
0
;
continue
;
case
WGL_DRAW_TO_BITMAP_ARB
:
if
(
!
fmt
)
goto
pix_error
;
piValues
[
i
]
=
(
fmt
->
dwFlags
&
PFD_DRAW_TO_BITMAP
)
?
TRUE
:
FALSE
;
piValues
[
i
]
=
(
fmt
->
dwFlags
&
PFD_DRAW_TO_BITMAP
)
!=
0
;
continue
;
case
WGL_DRAW_TO_WINDOW_ARB
:
...
...
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