pc ui: print opengl version on startup

old-commit-hash: 92de562ed9
commatwo_master
Willem Melching 5 years ago
parent e4e26ca57e
commit 16ef2f6a1b
  1. 1
      selfdrive/ui/qt/window.cc

@ -62,6 +62,7 @@ GLWindow::~GLWindow() {
void GLWindow::initializeGL() { void GLWindow::initializeGL() {
initializeOpenGLFunctions(); initializeOpenGLFunctions();
std::cout << "OpenGL version: " << glGetString(GL_VERSION) << std::endl;
ui_state = new UIState(); ui_state = new UIState();
ui_init(ui_state); ui_init(ui_state);

Loading…
Cancel
Save