Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAMP
campvis-public
Commits
f5cda4fc
Commit
f5cda4fc
authored
Oct 07, 2014
by
Christian Schulte zu Berge
Browse files
fixed two GCC warnings
parent
497f1a62
Changes
1
Hide whitespace changes
Inline
Side-by-side
ext/tgt/shadermanager.cpp
View file @
f5cda4fc
...
...
@@ -1324,7 +1324,7 @@ void Shader::setNormalizedAttribute(GLint index, const Vector4<GLuint>& v) {
bool
Shader
::
selectSubroutine
(
ShaderObject
::
ShaderType
type
,
const
std
::
string
&
subroutineName
)
{
GLuint
index
=
glGetSubroutineIndex
(
id_
,
type
,
subroutineName
.
c_str
());
if
(
index
==
-
1
)
{
if
(
index
==
GL_INVALID_INDEX
)
{
LWARNING
(
"Failed to locate subroutine Location: "
<<
subroutineName
);
return
false
;
}
...
...
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