Hopefully fixed building when fextracker is disabled.
Originally committed to SVN as r911.
This commit is contained in:
parent
5ef911d93c
commit
5d2f7bbe2c
|
@ -118,7 +118,9 @@ void VideoDisplayVisual::DrawOverlay() {
|
||||||
|
|
||||||
// Draw the control points for FexTracker
|
// Draw the control points for FexTracker
|
||||||
glDisable(GL_TEXTURE_2D);
|
glDisable(GL_TEXTURE_2D);
|
||||||
|
#if USE_FEXTRACKER == 1
|
||||||
parent->tracker->Render();
|
parent->tracker->Render();
|
||||||
|
#endif
|
||||||
|
|
||||||
// Draw lines
|
// Draw lines
|
||||||
if (mode != 0) {
|
if (mode != 0) {
|
||||||
|
@ -773,7 +775,11 @@ void VideoDisplayVisual::OnMouseEvent (wxMouseEvent &event) {
|
||||||
SubtitlesGrid *grid = VideoContext::Get()->grid;
|
SubtitlesGrid *grid = VideoContext::Get()->grid;
|
||||||
bool hasOverlay = false;
|
bool hasOverlay = false;
|
||||||
bool realTime = Options.AsBool(_T("Video Visual Realtime"));
|
bool realTime = Options.AsBool(_T("Video Visual Realtime"));
|
||||||
|
|
||||||
|
// Fextracker
|
||||||
|
#if USE_FEXTRACKER == 1
|
||||||
if (parent->tracker) parent->tracker->OnMouseEvent(event);
|
if (parent->tracker) parent->tracker->OnMouseEvent(event);
|
||||||
|
#endif
|
||||||
|
|
||||||
// Text of current coords
|
// Text of current coords
|
||||||
int vx = (sw * x + w/2) / w;
|
int vx = (sw * x + w/2) / w;
|
||||||
|
|
Loading…
Reference in a new issue