Ignoring GL unallocated? memory
This commit is contained in:
parent
2c25667f72
commit
63444be3d0
1 changed files with 2 additions and 0 deletions
|
|
@ -56,7 +56,9 @@ void Graphics::GL::proc() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Graphics::GL::draw() {
|
void Graphics::GL::draw() {
|
||||||
|
tp::HeapAllocGlobal::startIgnore();
|
||||||
glDrawArrays(GL_TRIANGLES, 0, 3);
|
glDrawArrays(GL_TRIANGLES, 0, 3);
|
||||||
|
tp::HeapAllocGlobal::stopIgnore();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Graphics::init(Window* window) {
|
void Graphics::init(Window* window) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue