mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-30 20:51:06 +01:00 
			
		
		
		
	Fix to allow compiling in unity builds where stb_rectpack/stb_truetype may be already included in the same compilation unit.
This commit is contained in:
		| @@ -2594,10 +2594,10 @@ float ImGui::CalcWrapWidthForPos(const ImVec2& pos, float wrap_pos_x) | ||||
|  | ||||
| //----------------------------------------------------------------------------- | ||||
|  | ||||
| void* ImGui::MemAlloc(size_t sz) | ||||
| void* ImGui::MemAlloc(size_t size) | ||||
| { | ||||
|     GImAllocatorActiveAllocationsCount++; | ||||
|     return GImAllocatorAllocFunc(sz, GImAllocatorUserData); | ||||
|     return GImAllocatorAllocFunc(size, GImAllocatorUserData); | ||||
| } | ||||
|  | ||||
| void ImGui::MemFree(void* ptr) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user