Pass ref_col parameter correctly to ColorPicker4

This commit is contained in:
Joonas Javanainen
2017-11-02 20:55:00 +02:00
committed by Stephan Dilly
parent 14b2c5cc58
commit 50bce34b67

View File

@@ -926,7 +926,7 @@ CIMGUI_API bool igColorPicker3(CONST char* label, float col[3], ImGuiColorEditFl
CIMGUI_API bool igColorPicker4(CONST char* label, float col[4], ImGuiColorEditFlags flags, CONST float* ref_col)
{
return ImGui::ColorPicker4(label, col, flags);
return ImGui::ColorPicker4(label, col, flags, ref_col);
}
CIMGUI_API bool igColorButton(CONST char* desc_id, CONST ImVec4 col, ImGuiColorEditFlags flags, CONST ImVec2 size)