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
344cf57f
Commit
344cf57f
authored
Oct 08, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Rename the XRENDERINFO type to make it clear it's a pointer.
parent
3e5e0ee8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
x11drv.h
dlls/winex11.drv/x11drv.h
+2
-2
xrender.c
dlls/winex11.drv/xrender.c
+4
-4
No files found.
dlls/winex11.drv/x11drv.h
View file @
344cf57f
...
...
@@ -138,7 +138,7 @@ typedef struct
/* X physical font */
typedef
UINT
X_PHYSFONT
;
typedef
struct
tagXRENDERINFO
*
XRENDERINFO
;
struct
xrender_info
;
/* X physical device */
typedef
struct
...
...
@@ -163,7 +163,7 @@ typedef struct
Drawable
gl_drawable
;
Pixmap
pixmap
;
/* Pixmap for a GLXPixmap gl_drawable */
int
gl_copy
;
XRENDERINFO
xrender
;
struct
xrender_info
*
xrender
;
}
X11DRV_PDEVICE
;
...
...
dlls/winex11.drv/xrender.c
View file @
344cf57f
...
...
@@ -140,7 +140,7 @@ typedef struct
INT
next
;
}
gsCacheEntry
;
struct
tagXRENDERINFO
struct
xrender_info
{
int
cache_index
;
Picture
pict
;
...
...
@@ -207,11 +207,11 @@ static CRITICAL_SECTION xrender_cs = { &critsect_debug, -1, 0, 0, 0, 0 };
#define NATIVE_BYTE_ORDER LSBFirst
#endif
static
XRENDERINFO
get_xrender_info
(
X11DRV_PDEVICE
*
physDev
)
static
struct
xrender_info
*
get_xrender_info
(
X11DRV_PDEVICE
*
physDev
)
{
if
(
!
physDev
->
xrender
)
{
physDev
->
xrender
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
struct
tagXRENDERINFO
));
physDev
->
xrender
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
physDev
->
xrender
));
if
(
!
physDev
->
xrender
)
{
...
...
@@ -812,7 +812,7 @@ void X11DRV_XRender_Finalize(void)
BOOL
X11DRV_XRender_SelectFont
(
X11DRV_PDEVICE
*
physDev
,
HFONT
hfont
)
{
LFANDSIZE
lfsz
;
XRENDERINFO
info
;
struct
xrender_info
*
info
;
GetObjectW
(
hfont
,
sizeof
(
lfsz
.
lf
),
&
lfsz
.
lf
);
TRACE
(
"h=%d w=%d weight=%d it=%d charset=%d name=%s
\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