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
9acc9666
Commit
9acc9666
authored
Dec 21, 2012
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Indentation fix.
parent
fd457cd9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
opengl.c
dlls/winex11.drv/opengl.c
+3
-3
palette.c
dlls/winex11.drv/palette.c
+1
-1
No files found.
dlls/winex11.drv/opengl.c
View file @
9acc9666
...
...
@@ -682,7 +682,7 @@ static BOOL has_opengl(void)
* enable this function when the Xserver understand GLX 1.3 or newer
*/
pglXQueryDrawable
=
NULL
;
}
else
if
(
strcmp
(
"ATI"
,
WineGLInfo
.
glxClientVendor
)
==
0
)
{
}
else
if
(
strcmp
(
"ATI"
,
WineGLInfo
.
glxClientVendor
)
==
0
)
{
TRACE
(
"Overriding ATI GLX capabilities!
\n
"
);
pglXChooseFBConfig
=
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXChooseFBConfig"
);
pglXGetFBConfigAttrib
=
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXGetFBConfigAttrib"
);
...
...
@@ -2570,9 +2570,9 @@ static BOOL X11DRV_wglGetPixelFormatAttribivARB( HDC hdc, int iPixelFormat, int
if
(
!
fmt
)
goto
pix_error
;
hTest
=
pglXGetFBConfigAttrib
(
gdi_display
,
fmt
->
fbconfig
,
curGLXAttr
,
&
tmp
);
if
(
hTest
)
goto
get_error
;
piValues
[
i
]
=
GL_FALSE
;
piValues
[
i
]
=
GL_FALSE
;
if
(
GLX_NONE
!=
tmp
)
piValues
[
i
]
=
GL_TRUE
;
continue
;
continue
;
case
WGL_PIXEL_TYPE_ARB
:
curGLXAttr
=
GLX_RENDER_TYPE
;
...
...
dlls/winex11.drv/palette.c
View file @
9acc9666
...
...
@@ -736,7 +736,7 @@ COLORREF X11DRV_PALETTE_ToLogical(X11DRV_PDEVICE *physDev, int pixel)
if
(
shifts
->
logicalBlue
.
scale
<
8
)
color
.
blue
=
color
.
blue
<<
(
8
-
shifts
->
logicalBlue
.
scale
)
|
color
.
blue
>>
(
2
*
shifts
->
logicalBlue
.
scale
-
8
);
return
RGB
(
color
.
red
,
color
.
green
,
color
.
blue
);
return
RGB
(
color
.
red
,
color
.
green
,
color
.
blue
);
}
/* check if we can bypass X */
...
...
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