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
e63bd2ce
Commit
e63bd2ce
authored
Apr 24, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: The first shader token should be the version token.
parent
2dcfdd5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
baseshader.c
dlls/wined3d/baseshader.c
+6
-7
No files found.
dlls/wined3d/baseshader.c
View file @
e63bd2ce
...
...
@@ -911,17 +911,16 @@ void shader_generate_main(IWineD3DBaseShader *iface, SHADER_BUFFER* buffer,
ins
.
src
=
src_param
;
This
->
baseShader
.
parse_state
.
current_row
=
0
;
if
(
!
shader_is_version_token
(
*
pToken
++
))
{
ERR
(
"First token is not a version token, invalid shader.
\n
"
);
return
;
}
while
(
WINED3DPS_END
()
!=
*
pToken
)
{
DWORD
opcode_token
;
/* Skip version token */
if
(
shader_is_version_token
(
*
pToken
))
{
++
pToken
;
continue
;
}
/* Skip comment tokens */
if
(
shader_is_comment
(
*
pToken
))
{
...
...
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