Remove dead code

This commit is contained in:
2021-08-17 01:30:15 -07:00
parent f0b8dbbac5
commit e046c1638a
3 changed files with 0 additions and 13 deletions

View File

@@ -712,13 +712,6 @@ void KRContext::receivedMemoryWarning()
m_last_memory_warning_frame = m_current_frame; m_last_memory_warning_frame = m_current_frame;
} }
void
KRContext::activateStreamerContext()
{
}
KrResult KRContext::findNodeByName(const KrFindNodeByNameInfo* pFindNodeByNameInfo) KrResult KRContext::findNodeByName(const KrFindNodeByNameInfo* pFindNodeByNameInfo)
{ {
return KR_ERROR_NOT_IMPLEMENTED; return KR_ERROR_NOT_IMPLEMENTED;

View File

@@ -156,9 +156,6 @@ public:
void doStreaming(); void doStreaming();
void receivedMemoryWarning(); void receivedMemoryWarning();
static void activateStreamerContext();
static void activateRenderContext();
static std::mutex g_SurfaceInfoMutex; static std::mutex g_SurfaceInfoMutex;
static std::mutex g_DeviceInfoMutex; static std::mutex g_DeviceInfoMutex;

View File

@@ -47,7 +47,6 @@ void KRStreamer::startStreamer()
{ {
if(!m_running) { if(!m_running) {
m_running = true; m_running = true;
KRContext::activateStreamerContext();
m_thread = std::thread(&KRStreamer::run, this); m_thread = std::thread(&KRStreamer::run, this);
} }
@@ -74,8 +73,6 @@ void KRStreamer::run()
#endif #endif
std::chrono::microseconds sleep_duration( 15000 ); std::chrono::microseconds sleep_duration( 15000 );
KRContext::activateStreamerContext();
while(!m_stop) while(!m_stop)
{ {