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
a3f4e7ff
Commit
a3f4e7ff
authored
Jul 03, 2002
by
Lionel Ulmer
Committed by
Alexandre Julliard
Jul 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Detect DCs without fonts and return an error in wglUseBitmapFonts.
parent
62a329a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
wgl.c
dlls/opengl32/wgl.c
+4
-2
init.c
graphics/x11drv/init.c
+1
-0
No files found.
dlls/opengl32/wgl.c
View file @
a3f4e7ff
...
...
@@ -445,7 +445,7 @@ BOOL WINAPI wglSwapLayerBuffers(HDC hdc,
if
(
fuPlanes
)
{
WARN
(
"Following layers unhandled : %08x
\n
"
,
fuPlanes
);
}
return
TRUE
;
}
...
...
@@ -459,7 +459,9 @@ BOOL WINAPI wglUseFontBitmapsA(HDC hdc,
{
Font
fid
=
get_font
(
hdc
);
TRACE
(
"(%08x, %ld, %ld, %ld)
\n
"
,
hdc
,
first
,
count
,
listBase
);
TRACE
(
"(%08x, %ld, %ld, %ld) using font %ld
\n
"
,
hdc
,
first
,
count
,
listBase
,
fid
);
if
(
fid
==
0
)
return
FALSE
;
ENTER_GL
();
/* I assume that the glyphs are at the same position for X and for Windows */
...
...
graphics/x11drv/init.c
View file @
a3f4e7ff
...
...
@@ -290,6 +290,7 @@ INT X11DRV_ExtEscape( X11DRV_PDEVICE *physDev, INT escape, INT in_count, LPCVOID
if
(
out_count
>=
sizeof
(
Font
))
{
fontObject
*
pfo
=
XFONT_GetFontObject
(
physDev
->
font
);
if
(
pfo
==
NULL
)
return
FALSE
;
*
(
Font
*
)
out_data
=
pfo
->
fs
->
fid
;
return
TRUE
;
}
...
...
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