//--------------------------------------------------------------- void CloudsRGBDVideoPlayer::drawSubtitles(){ #ifdef OCULUS_RIFT int x = 650; #else int x = CloudsVisualSystem::getStaticRenderTarget().getWidth()/2.0; #endif int y = CloudsVisualSystem::getStaticRenderTarget().getHeight(); y *= showingLowerThirds ? subtitle2DOffsetLowerThirds : subtitle2DOffsetVisualSystem; drawSubtitles(x,y); }
void CloudsRGBDVideoPlayer::drawSubtitles(int x,int y){ drawSubtitles(); }