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
5b6bf340
Commit
5b6bf340
authored
Aug 29, 2000
by
Peter Hunnisett
Committed by
Alexandre Julliard
Aug 29, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Newbie friendly error message for 3D creation failure.
parent
8adbdd7c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
x11.c
dlls/ddraw/ddraw/x11.c
+8
-0
x11.c
dlls/ddraw/dsurface/x11.c
+7
-0
No files found.
dlls/ddraw/ddraw/x11.c
View file @
5b6bf340
...
...
@@ -639,6 +639,14 @@ static HRESULT WINAPI Xlib_IDirectDraw2Impl_QueryInterface(
return
create_direct3d2
(
obj
,
This
);
if
(
IsEqualGUID
(
&
IID_IDirect3D3
,
refiid
)
)
return
create_direct3d3
(
obj
,
This
);
#else
if
(
IsEqualGUID
(
&
IID_IDirect3D
,
refiid
)
||
IsEqualGUID
(
&
IID_IDirect3D2
,
refiid
)
||
IsEqualGUID
(
&
IID_IDirect3D3
,
refiid
)
)
{
ERR
(
"Cannot provide 3D support without OpenGL/Mesa installed
\n
"
);
}
#endif
FIXME
(
"(%p):interface for IID %s _NOT_ found!
\n
"
,
This
,
debugstr_guid
(
refiid
));
return
OLE_E_ENUM_NOMORE
;
...
...
dlls/ddraw/dsurface/x11.c
View file @
5b6bf340
...
...
@@ -82,6 +82,13 @@ HRESULT WINAPI Xlib_IDirectDrawSurface4Impl_QueryInterface(
TRACE
(
" Creating IDirect3DTexture interface (%p)
\n
"
,
*
obj
);
return
S_OK
;
}
#else
if
(
IsEqualGUID
(
&
IID_IDirect3DTexture2
,
refiid
)
||
IsEqualGUID
(
&
IID_IDirect3DTexture
,
refiid
)
)
{
ERR
(
"Cannot provide 3D support without OpenGL/Mesa installed
\n
"
);
}
#endif
/* HAVE_OPENGL */
FIXME
(
"(%p):interface for IID %s NOT found!
\n
"
,
This
,
debugstr_guid
(
refiid
));
return
OLE_E_ENUM_NOMORE
;
...
...
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