Remove dead code
This commit is contained in:
@@ -712,13 +712,6 @@ void KRContext::receivedMemoryWarning()
|
||||
m_last_memory_warning_frame = m_current_frame;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
KRContext::activateStreamerContext()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
KrResult KRContext::findNodeByName(const KrFindNodeByNameInfo* pFindNodeByNameInfo)
|
||||
{
|
||||
return KR_ERROR_NOT_IMPLEMENTED;
|
||||
|
||||
@@ -156,9 +156,6 @@ public:
|
||||
void doStreaming();
|
||||
void receivedMemoryWarning();
|
||||
|
||||
static void activateStreamerContext();
|
||||
static void activateRenderContext();
|
||||
|
||||
static std::mutex g_SurfaceInfoMutex;
|
||||
static std::mutex g_DeviceInfoMutex;
|
||||
|
||||
|
||||
@@ -47,7 +47,6 @@ void KRStreamer::startStreamer()
|
||||
{
|
||||
if(!m_running) {
|
||||
m_running = true;
|
||||
KRContext::activateStreamerContext();
|
||||
|
||||
m_thread = std::thread(&KRStreamer::run, this);
|
||||
}
|
||||
@@ -74,8 +73,6 @@ void KRStreamer::run()
|
||||
#endif
|
||||
|
||||
std::chrono::microseconds sleep_duration( 15000 );
|
||||
|
||||
KRContext::activateStreamerContext();
|
||||
|
||||
while(!m_stop)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user