Fix broken IrrDriver::cancelResChange
This commit is contained in:
@@ -1171,7 +1171,7 @@ void IrrDriver::cancelResChange()
|
||||
// is actually called from the gui, i.e. the event loop, i.e. while the
|
||||
// old device is active - so we can't delete this device (which we must
|
||||
// do in applyResolutionSettings)
|
||||
m_resolution_changing=RES_CHANGE_SAME;
|
||||
m_resolution_changing=RES_CHANGE_CANCEL;
|
||||
|
||||
} // cancelResChange
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ private:
|
||||
* the confirmation dialog needs an additional warning message.
|
||||
* Same indicates a change of the resolution (back to the original
|
||||
* one), but no confirmation dialog. */
|
||||
enum {RES_CHANGE_NONE, RES_CHANGE_YES,
|
||||
enum {RES_CHANGE_NONE, RES_CHANGE_YES, RES_CHANGE_CANCEL,
|
||||
RES_CHANGE_SAME, RES_CHANGE_YES_WARN} m_resolution_changing;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user