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
0dd13f2c
Commit
0dd13f2c
authored
Jul 12, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Check the color data type too when deciding whether to convert data.
parent
a8b38fa2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vertexbuffer.c
dlls/wined3d/vertexbuffer.c
+2
-2
No files found.
dlls/wined3d/vertexbuffer.c
View file @
0dd13f2c
...
...
@@ -198,8 +198,8 @@ static void WINAPI IWineD3DVertexBufferImpl_PreLoad(IWineD3DVertexBuffer *if
/* If any data that needs conversion has changed we have to reload the whole buffer */
if
(
(
(
This
->
strided
.
u
.
s
.
position_transformed
||
strided
.
u
.
s
.
position_transformed
)
&&
This
->
strided
.
u
.
s
.
position
.
lpData
!=
strided
.
u
.
s
.
position
.
lpData
)
||
!
(
This
->
strided
.
u
.
s
.
diffuse
.
lpData
==
strided
.
u
.
s
.
diffuse
.
lpData
||
strided
.
u
.
s
.
diffuse
.
VBO
!=
This
->
vbo
)
||
!
(
This
->
strided
.
u
.
s
.
specular
.
lpData
==
strided
.
u
.
s
.
specular
.
lpData
||
strided
.
u
.
s
.
specular
.
VBO
!=
This
->
vbo
)
)
{
!
(
(
This
->
strided
.
u
.
s
.
diffuse
.
lpData
==
strided
.
u
.
s
.
diffuse
.
lpData
&&
This
->
strided
.
u
.
s
.
diffuse
.
dwType
==
strided
.
u
.
s
.
diffuse
.
dwType
)
||
strided
.
u
.
s
.
diffuse
.
VBO
!=
This
->
vbo
)
||
!
(
(
This
->
strided
.
u
.
s
.
specular
.
lpData
==
strided
.
u
.
s
.
specular
.
lpData
&&
This
->
strided
.
u
.
s
.
specular
.
dwType
==
strided
.
u
.
s
.
specular
.
dwType
)
||
strided
.
u
.
s
.
specular
.
VBO
!=
This
->
vbo
)
)
{
start
=
0
;
end
=
This
->
resource
.
size
;
...
...
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