goat3d

view goatview/src/opengl.c @ 103:45a9d493e98c

fixed the input latency issue by calling QWidget::update() instead of QGLWidget::updateGL() update schedules an update instead of redrawing immediately.
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 12 Sep 2015 17:40:02 +0300
parents 7458b8568463
children
line source
1 #include <string.h>
2 #include "opengl.h"
4 int init_opengl(void)
5 {
6 glewInit();
7 return 0;
8 }