Browse Source

Qt5 doesn't declare as many GL functions as it used to, need to include system library headers now.

QGC4.4
Bryant Mairs 11 years ago
parent
commit
edf14d9b1b
  1. 1
      src/ui/CameraView.cc

1
src/ui/CameraView.cc

@ -30,6 +30,7 @@ This file is part of the QGROUNDCONTROL project
#include "CameraView.h" #include "CameraView.h"
#include <QDebug> #include <QDebug>
#include <gl/gl.h>
CameraView::CameraView(int width, int height, int depth, int channels, QWidget* parent) : QGLWidget(parent) CameraView::CameraView(int width, int height, int depth, int channels, QWidget* parent) : QGLWidget(parent)
{ {

Loading…
Cancel
Save