Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
ffbb211b
Commit
ffbb211b
authored
Jun 04, 2020
by
Marcus Brummer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set "shader_param/" prefix in Shader::has_param()
parent
c0ff2a38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
shader.cpp
scene/resources/shader.cpp
+1
-1
No files found.
scene/resources/shader.cpp
View file @
ffbb211b
...
...
@@ -125,7 +125,7 @@ bool Shader::is_text_shader() const {
}
bool
Shader
::
has_param
(
const
StringName
&
p_param
)
const
{
return
params_cache
.
has
(
p_param
);
return
params_cache
.
has
(
"shader_param/"
+
p_param
);
}
void
Shader
::
_update_shader
()
const
{
...
...
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