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
a7e2c2d7
Commit
a7e2c2d7
authored
Apr 15, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Don't die if a vertex shader has samplers.
This fixes a regression introduced by
38239be5
.
parent
4aec827b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
glsl_shader.c
dlls/wined3d/glsl_shader.c
+2
-1
No files found.
dlls/wined3d/glsl_shader.c
View file @
a7e2c2d7
...
...
@@ -825,7 +825,8 @@ static void shader_generate_glsl_declarations(IWineD3DBaseShader *iface, const s
shader_addline
(
buffer
,
"uniform sampler2D %csampler%u;
\n
"
,
prefix
,
i
);
}
if
(
ps_args
->
np2_fixup
&
(
1
<<
i
))
{
if
(
pshader
&&
ps_args
->
np2_fixup
&
(
1
<<
i
))
{
/* NP2/RECT textures in OpenGL use texcoords in the range [0,width]x[0,height]
* while D3D has them in the (normalized) [0,1]x[0,1] range.
* samplerNP2Fixup stores texture dimensions and is updated through
...
...
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