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
232c16fa
Commit
232c16fa
authored
Mar 29, 2007
by
Huw Davies
Committed by
Alexandre Julliard
Mar 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Rename a local variable to avoid confusion with a global.
parent
8cedb218
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
xrender.c
dlls/winex11.drv/xrender.c
+8
-8
No files found.
dlls/winex11.drv/xrender.c
View file @
232c16fa
...
@@ -1076,7 +1076,7 @@ BOOL X11DRV_XRender_ExtTextOut( X11DRV_PDEVICE *physDev, INT x, INT y, UINT flag
...
@@ -1076,7 +1076,7 @@ BOOL X11DRV_XRender_ExtTextOut( X11DRV_PDEVICE *physDev, INT x, INT y, UINT flag
int
textPixel
,
backgroundPixel
;
int
textPixel
,
backgroundPixel
;
HRGN
saved_region
=
0
;
HRGN
saved_region
=
0
;
BOOL
disable_antialias
=
FALSE
;
BOOL
disable_antialias
=
FALSE
;
AA_Type
a
ntialias
=
AA_None
;
AA_Type
a
a_type
=
AA_None
;
DIBSECTION
bmp
;
DIBSECTION
bmp
;
unsigned
int
idx
;
unsigned
int
idx
;
double
cosEsc
,
sinEsc
;
double
cosEsc
,
sinEsc
;
...
@@ -1244,18 +1244,18 @@ BOOL X11DRV_XRender_ExtTextOut( X11DRV_PDEVICE *physDev, INT x, INT y, UINT flag
...
@@ -1244,18 +1244,18 @@ BOOL X11DRV_XRender_ExtTextOut( X11DRV_PDEVICE *physDev, INT x, INT y, UINT flag
EnterCriticalSection
(
&
xrender_cs
);
EnterCriticalSection
(
&
xrender_cs
);
entry
=
glyphsetCache
+
physDev
->
xrender
->
cache_index
;
entry
=
glyphsetCache
+
physDev
->
xrender
->
cache_index
;
if
(
disable_antialias
==
FALSE
)
if
(
disable_antialias
==
FALSE
)
a
ntialias
=
entry
->
aa_default
;
a
a_type
=
entry
->
aa_default
;
formatEntry
=
entry
->
format
[
a
ntialias
];
formatEntry
=
entry
->
format
[
a
a_type
];
for
(
idx
=
0
;
idx
<
count
;
idx
++
)
{
for
(
idx
=
0
;
idx
<
count
;
idx
++
)
{
if
(
!
formatEntry
)
{
if
(
!
formatEntry
)
{
UploadGlyph
(
physDev
,
wstr
[
idx
],
a
ntialias
);
UploadGlyph
(
physDev
,
wstr
[
idx
],
a
a_type
);
/* re-evaluate antialias since aa_default may have changed */
/* re-evaluate antialias since aa_default may have changed */
if
(
disable_antialias
==
FALSE
)
if
(
disable_antialias
==
FALSE
)
a
ntialias
=
entry
->
aa_default
;
a
a_type
=
entry
->
aa_default
;
formatEntry
=
entry
->
format
[
a
ntialias
];
formatEntry
=
entry
->
format
[
a
a_type
];
}
else
if
(
wstr
[
idx
]
>=
formatEntry
->
nrealized
||
formatEntry
->
realized
[
wstr
[
idx
]]
==
FALSE
)
{
}
else
if
(
wstr
[
idx
]
>=
formatEntry
->
nrealized
||
formatEntry
->
realized
[
wstr
[
idx
]]
==
FALSE
)
{
UploadGlyph
(
physDev
,
wstr
[
idx
],
a
ntialias
);
UploadGlyph
(
physDev
,
wstr
[
idx
],
a
a_type
);
}
}
}
}
if
(
!
formatEntry
)
if
(
!
formatEntry
)
...
@@ -1299,7 +1299,7 @@ BOOL X11DRV_XRender_ExtTextOut( X11DRV_PDEVICE *physDev, INT x, INT y, UINT flag
...
@@ -1299,7 +1299,7 @@ BOOL X11DRV_XRender_ExtTextOut( X11DRV_PDEVICE *physDev, INT x, INT y, UINT flag
wine_tsx11_lock
();
wine_tsx11_lock
();
XSetForeground
(
gdi_display
,
physDev
->
gc
,
textPixel
);
XSetForeground
(
gdi_display
,
physDev
->
gc
,
textPixel
);
if
(
a
ntialias
==
AA_None
)
{
if
(
a
a_type
==
AA_None
)
{
for
(
idx
=
0
;
idx
<
count
;
idx
++
)
{
for
(
idx
=
0
;
idx
<
count
;
idx
++
)
{
SharpGlyphMono
(
physDev
,
physDev
->
dc_rect
.
left
+
x
+
xoff
,
SharpGlyphMono
(
physDev
,
physDev
->
dc_rect
.
left
+
x
+
xoff
,
physDev
->
dc_rect
.
top
+
y
+
yoff
,
physDev
->
dc_rect
.
top
+
y
+
yoff
,
...
...
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