Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
C-Fu
OpenGL
Commits
3af88645
Commit
3af88645
authored
Nov 01, 2016
by
Anakin
Browse files
special thanks to john_connor for finding the display problem
parent
bc518f58
Changes
1
Hide whitespace changes
Inline
Side-by-side
MshViewer/Source/OpenGlController.cpp
View file @
3af88645
...
...
@@ -348,7 +348,7 @@ void OpenGLController::loadMsh(const char * path)
glBindBuffer
(
GL_ARRAY_BUFFER
,
gluiVertexBufferID
);
glBufferData
(
GL_ARRAY_BUFFER
,
sizeof
(
tempBufferData
)
*
tempBufferData
.
size
(),
sizeof
(
Vertex
)
*
tempBufferData
.
size
(),
tempBufferData
.
data
(),
GL_STATIC_DRAW
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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