Fixed a bug where the trackball rotation was applied after translation.
diff --git a/demo/FTGLDemo.cpp b/demo/FTGLDemo.cpp
index 4314d7d..19af4a1 100644
--- a/demo/FTGLDemo.cpp
+++ b/demo/FTGLDemo.cpp
@@ -353,8 +353,8 @@ void display(void)
case FTGL_POLYGON:
case FTGL_EXTRUDE:
case FTGL_TEXTURE:
- tbMatrix();
glTranslatef(OX,OY,0);
+ tbMatrix();
break;
}