Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
Type-QtWidget
Commits
e2151b86
Commit
e2151b86
authored
Apr 05, 2018
by
Jan Möbius
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'featureRemoveExtensions' into 'master'
Replaced aliased OpenGL Calls See merge request
!3
parents
2ef6a7d5
1a60315f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ObjectTypes/QtWidget/QtWidgetNode.cc
ObjectTypes/QtWidget/QtWidgetNode.cc
+4
-4
No files found.
ObjectTypes/QtWidget/QtWidgetNode.cc
View file @
e2151b86
...
...
@@ -213,15 +213,15 @@ void QtWidgetNode::uploadPlane()
// Create buffer for vertex coordinates if necessary
if
(
!
vbo_
)
{
glGenBuffers
ARB
(
1
,
&
vbo_
);
glGenBuffers
(
1
,
&
vbo_
);
}
// Bind buffer
glBindBuffer
ARB
(
GL_ARRAY_BUFFER_ARB
,
vbo_
);
glBindBuffer
(
GL_ARRAY_BUFFER_ARB
,
vbo_
);
// Upload to buffer
glBufferData
ARB
(
GL_ARRAY_BUFFER_ARB
,
buffersize
*
sizeof
(
float
),
&
vboData_
[
0
],
GL_STATIC_DRAW_ARB
);
glBufferData
(
GL_ARRAY_BUFFER_ARB
,
buffersize
*
sizeof
(
float
),
&
vboData_
[
0
],
GL_STATIC_DRAW_ARB
);
glBindBuffer
ARB
(
GL_ARRAY_BUFFER_ARB
,
0
);
glBindBuffer
(
GL_ARRAY_BUFFER_ARB
,
0
);
}
//----------------------------------------------------------------
...
...
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