Commit cb4750b2 authored by Mathieu Faverge's avatar Mathieu Faverge

Another one

parent 4415249c
......@@ -123,6 +123,7 @@ Render_alternate::Render_alternate(Core* core, QWidget *parent, const QGLFormat&
_texts.clear();
_variable_texts.clear();
_links.clear();
vertical_line = 0;
/*int error = FT_Init_FreeType(&library);
if(error != 0)
std::cout << "an error occured during freetype initialization" << std::endl;*/
......@@ -558,7 +559,7 @@ void Render_alternate::paintGL(){
checkGlError();
QFont arial_font = QFont("Arial", 10);
const QFontMetrics metric(arial_font);
QString t =QString().setNum(vertical_line);
QString t = QString().setNum(vertical_line);
// draw time corresponding to the vertical line position
qglColor(Qt::red);
checkGlError();
......
......@@ -73,7 +73,7 @@ using namespace std;
Vbo::Vbo(){
_vboID = 0;
_vaoID = 0;
_nbVertex=0;
_nbVertex = 0;
_shader = NULL;
}
......@@ -82,8 +82,8 @@ Vbo::Vbo(){
Vbo::Vbo(Shader *s){
_vboID = 0;
_vaoID = 0;
_shader = s;
_nbVertex = 0;
_shader = s;
}
/* Destructor*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment