Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
6fb39fc3
Commit
6fb39fc3
authored
Mar 03, 2020
by
Cédric Traizet
Browse files
WRG: add static cast from size_t to gl types
parent
672fbeeb
Pipeline
#4057
passed with stages
in 71 minutes and 52 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Modules/Visualization/Ice/src/otbGlMesh.cxx
View file @
6fb39fc3
...
...
@@ -112,10 +112,10 @@ Mesh
glVertexAttribPointer
(
id
,
components
,
static_cast
<
GLsizei
>
(
components
)
,
m_VBO
.
GlType
(),
GL_FALSE
,
m_VBO
.
Stride
(
components
),
m_VBO
.
Stride
(
static_cast
<
GLint
>
(
components
)
),
reinterpret_cast
<
GLvoid
const
*
>
(
first
*
m_VBO
.
Size
()
)
);
...
...
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