فهرست منبع

Fix compilation errors

Daniele Bartolini 12 سال پیش
والد
کامیت
0351d043df
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 2 2
      src/ResourceManager.cpp
  2. 1 1
      src/os/linux/LinuxOS.cpp

+ 2 - 2
src/ResourceManager.cpp

@@ -244,11 +244,11 @@ void* ResourceManager::load_by_type(ResourceId name) const
 	}
 	}
 	else if (name.type == m_texture_hash)
 	else if (name.type == m_texture_hash)
 	{
 	{
-		return TextureResource::load(m_resource_allocator, &m_resource_archive, name);
+		return TextureResource::load(m_resource_allocator, m_resource_archive, name);
 	}
 	}
 	else if (name.type == m_txt_hash)
 	else if (name.type == m_txt_hash)
 	{
 	{
-		return TextResource::load(m_resource_allocator, &m_resource_archive, name);
+		return TextResource::load(m_resource_allocator, m_resource_archive, name);
 	}
 	}
 
 
 	return NULL;
 	return NULL;

+ 1 - 1
src/os/linux/LinuxOS.cpp

@@ -302,7 +302,7 @@ void* lookup_symbol(void* library, const char* name)
 }
 }
 
 
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
-void thread_create(ThreadFunction f, void* params, OSThread& thread, const char* name)
+void thread_create(ThreadFunction f, void* params, OSThread* thread, const char* name)
 {
 {
 	thread->name = name;
 	thread->name = name;