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
6fd82020
Commit
6fd82020
authored
Apr 09, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Apr 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Don't report render target formats we don't support as supported.
parent
31663b9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
directx.c
dlls/wined3d/directx.c
+1
-8
No files found.
dlls/wined3d/directx.c
View file @
6fd82020
...
...
@@ -1672,14 +1672,7 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
return
WINED3D_OK
;
case
WINED3DFMT_R16F
:
case
WINED3DFMT_A16B16G16R16F
:
if
(
!
GL_SUPPORT
(
ARB_HALF_FLOAT_PIXEL
))
{
TRACE_
(
d3d_caps
)(
"[FAILED]
\n
"
);
return
WINED3DERR_NOTAVAILABLE
;
}
/* Fall through, support not fully determined yet. */
case
WINED3DFMT_R32F
:
case
WINED3DFMT_A32B32G32R32F
:
if
(
!
GL_SUPPORT
(
ARB_TEXTURE_FLOAT
))
{
if
(
!
GL_SUPPORT
(
ARB_HALF_FLOAT_PIXEL
)
||
!
GL_SUPPORT
(
ARB_TEXTURE_FLOAT
))
{
TRACE_
(
d3d_caps
)(
"[FAILED]
\n
"
);
return
WINED3DERR_NOTAVAILABLE
;
}
...
...
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