pull/3471/head
kallaballa 2 years ago
parent de71a6b3b1
commit db6468370c
  1. 2
      src/common/detail/nanovgcontext.cpp

@ -22,7 +22,6 @@ void NanoVGContext::render(std::function<void(const cv::Size&)> fn) {
fn(clglContext_.getSize());
}
void push() {
#ifndef __EMSCRIPTEN__
GL_CHECK(glPushClientAttrib(GL_CLIENT_ALL_ATTRIB_BITS));
@ -63,7 +62,6 @@ void NanoVGContext::begin() {
GL_CHECK(glViewport(0, 0, w, h));
}
void NanoVGContext::end() {
//FIXME make nvgCancelFrame possible
nvgEndFrame(context_);

Loading…
Cancel
Save