Skip to content

Commit 12c0246

Browse files
committed
Removed support for 1.42-era IMGUI_DISABLE_INCLUDE_IMCONFIG_H / IMGUI_INCLUDE_IMCONFIG_H. (#255)
1 parent 73efcec commit 12c0246

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/CHANGELOG.txt

+2
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ Breaking changes:
9494
Without '#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS' this will silently be fixed until we obsolete it.
9595
(This incorrect pattern has been mentioned or suggested in: #4510, #3355, #1760, #1490, #4152, #150,
9696
threads have been amended to refer to this issue).
97+
- Removed support for 1.42-era IMGUI_DISABLE_INCLUDE_IMCONFIG_H / IMGUI_INCLUDE_IMCONFIG_H. (#255)
98+
They only made sense before we could use IMGUI_USER_CONFIG.
9799

98100

99101
Other Changes:

imgui.h

+2-3
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,12 @@ Index of this file:
4848

4949
#pragma once
5050

51-
// Configuration file with compile-time options (edit imconfig.h or '#define IMGUI_USER_CONFIG "myfilename.h" from your build system')
51+
// Configuration file with compile-time options
52+
// (edit imconfig.h or '#define IMGUI_USER_CONFIG "myfilename.h" from your build system')
5253
#ifdef IMGUI_USER_CONFIG
5354
#include IMGUI_USER_CONFIG
5455
#endif
55-
#if !defined(IMGUI_DISABLE_INCLUDE_IMCONFIG_H) || defined(IMGUI_INCLUDE_IMCONFIG_H)
5656
#include "imconfig.h"
57-
#endif
5857

5958
#ifndef IMGUI_DISABLE
6059

0 commit comments

Comments
 (0)