void checkTile(const char* name) { string p = (getRenderedDirectory() / string(name)).append(".png").string(); renderLabels(p.c_str()); compareTile(name); }
void MainWidget::paintEvent(QPaintEvent* evt) { tick(); logic(deltaTime); render(); renderLabels(); HWND hwnd = (HWND)winId(); HDC hdc = GetDC(hwnd); SwapBuffers(hdc); ReleaseDC(hwnd, hdc); }
void TestPattern::render() { glPushAttrib(GL_CURRENT_BIT | GL_LINE_BIT); glPushMatrix(); renderCrossPattern(); // screen information in front of cross pattern glTranslatef(0., 0., 0.1); renderLabels(); glPopMatrix(); glPopAttrib(); }