summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.gitignore45
-rw-r--r--FTNoIR_Tracker_PT/video_widget.cpp9
2 files changed, 54 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..8e00b2ad
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,45 @@
+/faceAPI/FaceAPI2FSX.vcproj
+Release
+bin_dbg
+Debug
+FTNoIR_Protocol_CSV
+FTNoIR_Protocol_FTIR
+FTNoIR_Protocol_VJOY
+FTNoIR_ProtocolTester
+FTNoIR_Tracker_AIC_IHT
+FTNoIR_Tracker_AIC_IHT BT
+FTNoIR_Tracker_Toradex
+FTNoIR_Tracker_VISAGE
+Headtracking_API_ED
+Headtracking_API_RigsOfRods
+NPClient
+*.lib
+*.exp
+*.dll
+*.pdb
+*.ncb
+*.suo
+*.ilk
+*.exe
+*Wim*
+Redist
+*generatedfiles*
+FTNoIR_Protocol_PPJOY
+/FaceTrackNoIR/FaceTrackNoIR.vcproj
+/FTNoIR_Filter_Accela/FTNoIR_Filter_accela.vcproj
+/FTNoIR_Filter_EWMA2/FTNoIR_Filter_EWMA2.vcproj
+/FTNoIR_Protocol_FG/FTNoIR_Protocol_FG.vcproj
+/FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.vcproj
+/FTNoIR_Protocol_FT/FTNoIR_Protocol_FT.vcproj
+/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.vcproj
+/FTNoIR_Protocol_MOUSE/FTNoIR_Protocol_MOUSE.vcproj
+/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.vcproj
+/FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.vcproj
+/FTNoIR_Tracker_HT/FTNoIR_Tracker_HT.vcproj
+/FTNoIR_Tracker_PT/FTNoIR_Tracker_PT.vcproj
+/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.vcproj
+/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.vcproj
+/FaceTrackNoIR GameList V20.xlsm
+/FaceTrackNoIR GameList.xlsm
+/FaceTrackNoIR.sln
+/FaceTrackNoIR/FaceTrackNoIR_WVR.qrc
diff --git a/FTNoIR_Tracker_PT/video_widget.cpp b/FTNoIR_Tracker_PT/video_widget.cpp
index 598766b4..c2b41da1 100644
--- a/FTNoIR_Tracker_PT/video_widget.cpp
+++ b/FTNoIR_Tracker_PT/video_widget.cpp
@@ -3,6 +3,8 @@
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
+ *
+ * 20130312, WVR: Add 7 lines to resizeGL after resize_frame. This should lower CPU-load.
*/
#include "video_widget.h"
@@ -29,6 +31,13 @@ void VideoWidget::resizeGL(int w, int h)
glLoadIdentity();
glOrtho(0, w, 0, h, -1, 1);
resize_frame();
+ glDisable(GL_DEPTH_TEST);
+ glBegin(GL_QUADS);
+ glVertex2f(0,0);
+ glVertex2f(1,0);
+ glVertex2f(1,1);
+ glVertex2f(0,1);
+ glEnd();
}
void VideoWidget::paintGL()