|
Breaking changes for most users!
Added an extra 'void* renderer_user_data' parameter to ImDrawCallback (stored in ImDrawCmd::UserCallback). This allows custom rendering back-ends to pass custom local rendering information to the callback.
IF YOU USE AN OLD RENDERER BACK-END OR COPIED A RENDERER BACK-END BEFORE 1.71, YOUR COMPILATION WILL FAIL ON THIS LINE:
pcmd->UserCallback(cmd_list, pcmd);
You can fix it by adding a trailing NULL parameter:
pcmd->UserCallback(cmd_list, pcmd, NULL);
If your back-end needs to support multiple versions, you can use a '#if (IMGUI_VERSION_NUM >= 17004)' test.
|
|---|
|
|
| docs/CHANGELOG.txt |
|---|
| examples/imgui_impl_allegro5.cpp |
|---|
| examples/imgui_impl_dx10.cpp |
|---|
| examples/imgui_impl_dx11.cpp |
|---|
| examples/imgui_impl_dx12.cpp |
|---|
| examples/imgui_impl_dx9.cpp |
|---|
| examples/imgui_impl_marmalade.cpp |
|---|
| examples/imgui_impl_metal.mm |
|---|
| examples/imgui_impl_opengl2.cpp |
|---|
| examples/imgui_impl_opengl3.cpp |
|---|
| examples/imgui_impl_vulkan.cpp |
|---|
| imgui.cpp |
|---|
| imgui.h |
|---|