Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
03bacf72
Commit
03bacf72
authored
Apr 03, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Advertise shader emulation of bumpmap formats.
parent
ffbc96b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
directx.c
dlls/wined3d/directx.c
+12
-0
No files found.
dlls/wined3d/directx.c
View file @
03bacf72
...
...
@@ -2126,11 +2126,19 @@ static BOOL CheckTextureCapability(UINT Adapter, WINED3DFORMAT CheckFormat)
GL_SUPPORT
(
ATI_FRAGMENT_SHADER
))
{
return
TRUE
;
}
if
(
GL_SUPPORT
(
ARB_FRAGMENT_SHADER
)
||
GL_SUPPORT
(
ARB_FRAGMENT_PROGRAM
))
{
/* Shader emulated */
return
TRUE
;
}
TRACE_
(
d3d_caps
)(
"[FAILED] - No converted formats on volumes
\n
"
);
return
FALSE
;
case
WINED3DFMT_X8L8V8U8
:
case
WINED3DFMT_L6V5U5
:
if
(
GL_SUPPORT
(
ARB_FRAGMENT_SHADER
)
||
GL_SUPPORT
(
ARB_FRAGMENT_PROGRAM
))
{
/* Shader emulated */
return
TRUE
;
}
WARN_
(
d3d_caps
)(
"[FAILED]
\n
"
);
return
FALSE
;
...
...
@@ -2140,6 +2148,10 @@ static BOOL CheckTextureCapability(UINT Adapter, WINED3DFORMAT CheckFormat)
WARN_
(
d3d_caps
)(
"[Not supported, but pretended to do]
\n
"
);
return
TRUE
;
}
if
(
GL_SUPPORT
(
ARB_FRAGMENT_SHADER
)
||
GL_SUPPORT
(
ARB_FRAGMENT_PROGRAM
))
{
/* Shader emulated */
return
TRUE
;
}
TRACE_
(
d3d_caps
)(
"[FAILED] - No converted formats on volumes
\n
"
);
return
FALSE
;
...
...
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