goat3d
annotate 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 |
rev | line source |
---|---|
nuclear@93 | 1 #include <string.h> |
nuclear@93 | 2 #include "opengl.h" |
nuclear@93 | 3 |
nuclear@93 | 4 int init_opengl(void) |
nuclear@93 | 5 { |
nuclear@93 | 6 glewInit(); |
nuclear@93 | 7 return 0; |
nuclear@93 | 8 } |