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
c8a3f3f1
Commit
c8a3f3f1
authored
Feb 19, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Allow floating point values for WINED3DDECLUSAGE_BLENDWEIGHT.
glWeightPointerARB() obviously accepts floating point data.
parent
ff5bbf13
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vertexdeclaration.c
dlls/wined3d/vertexdeclaration.c
+4
-0
No files found.
dlls/wined3d/vertexdeclaration.c
View file @
c8a3f3f1
...
@@ -142,6 +142,10 @@ static BOOL declaration_element_valid_ffp(const WINED3DVERTEXELEMENT *element)
...
@@ -142,6 +142,10 @@ static BOOL declaration_element_valid_ffp(const WINED3DVERTEXELEMENT *element)
case
WINED3DDECLUSAGE_BLENDWEIGHT
:
case
WINED3DDECLUSAGE_BLENDWEIGHT
:
switch
(
element
->
Type
)
switch
(
element
->
Type
)
{
{
case
WINED3DDECLTYPE_FLOAT1
:
case
WINED3DDECLTYPE_FLOAT2
:
case
WINED3DDECLTYPE_FLOAT3
:
case
WINED3DDECLTYPE_FLOAT4
:
case
WINED3DDECLTYPE_D3DCOLOR
:
case
WINED3DDECLTYPE_D3DCOLOR
:
case
WINED3DDECLTYPE_UBYTE4
:
case
WINED3DDECLTYPE_UBYTE4
:
case
WINED3DDECLTYPE_SHORT2
:
case
WINED3DDECLTYPE_SHORT2
:
...
...
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