Remove dead code
This commit is contained in:
@@ -93,7 +93,6 @@ KRContext::KRContext(const KrInitializeInfo* initializeInfo)
|
|||||||
mach_timebase_info(&m_timebase_info);
|
mach_timebase_info(&m_timebase_info);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
m_bDetectedExtensions = false;
|
|
||||||
m_current_frame = 0;
|
m_current_frame = 0;
|
||||||
m_last_memory_warning_frame = 0;
|
m_last_memory_warning_frame = 0;
|
||||||
m_last_fully_streamed_frame = 0;
|
m_last_fully_streamed_frame = 0;
|
||||||
@@ -569,11 +568,6 @@ KrResult KRContext::saveResource(const KrSaveResourceInfo* saveResourceInfo)
|
|||||||
return KR_ERROR_UNEXPECTED;
|
return KR_ERROR_UNEXPECTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
void KRContext::detectExtensions() {
|
|
||||||
m_bDetectedExtensions = true;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void KRContext::startFrame(float deltaTime)
|
void KRContext::startFrame(float deltaTime)
|
||||||
{
|
{
|
||||||
m_streamer.startStreamer();
|
m_streamer.startStreamer();
|
||||||
|
|||||||
@@ -186,9 +186,6 @@ private:
|
|||||||
KRResource** m_resourceMap;
|
KRResource** m_resourceMap;
|
||||||
size_t m_resourceMapSize;
|
size_t m_resourceMapSize;
|
||||||
|
|
||||||
void detectExtensions();
|
|
||||||
bool m_bDetectedExtensions;
|
|
||||||
|
|
||||||
long m_current_frame; // TODO - Does this need to be atomic?
|
long m_current_frame; // TODO - Does this need to be atomic?
|
||||||
long m_last_memory_warning_frame; // TODO - Does this need to be atomic?
|
long m_last_memory_warning_frame; // TODO - Does this need to be atomic?
|
||||||
long m_last_fully_streamed_frame; // TODO - Does this need to be atomic?
|
long m_last_fully_streamed_frame; // TODO - Does this need to be atomic?
|
||||||
|
|||||||
Reference in New Issue
Block a user