Fixed incorrect cast
This commit is contained in:
@@ -222,6 +222,7 @@ SET(TARGET_H
|
||||
${HEADER_PATH}/VertexProgram
|
||||
${HEADER_PATH}/View
|
||||
${HEADER_PATH}/Viewport
|
||||
${HEADER_PATH}/ViewportIndexed
|
||||
${OPENSCENEGRAPH_VERSION_HEADER}
|
||||
${OPENSCENEGRAPH_CONFIG_HEADER}
|
||||
${OPENSCENEGRAPH_OPENGL_HEADER}
|
||||
@@ -388,6 +389,7 @@ SET(TARGET_SRC
|
||||
VertexProgram.cpp
|
||||
View.cpp
|
||||
Viewport.cpp
|
||||
ViewportIndexed.cpp
|
||||
|
||||
glu/libutil/error.cpp
|
||||
glu/libutil/mipmap.cpp
|
||||
|
||||
@@ -39,7 +39,7 @@ void ColorMaski::apply(State& state) const
|
||||
const GLExtensions* extensions = state.get<GLExtensions>();
|
||||
if (extensions->glColorMaski)
|
||||
{
|
||||
extensions->glColorMaski((GLboolean)_index, (GLboolean)_red,(GLboolean)_green,(GLboolean)_blue,(GLboolean)_alpha);
|
||||
extensions->glColorMaski((GLuint)_index, (GLboolean)_red,(GLboolean)_green,(GLboolean)_blue,(GLboolean)_alpha);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user