bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] CDefaultEngineCoreBuilder::ConfigureInputContext returns RC_FAIL #9

Closed bnoazx005 closed 5 years ago

bnoazx005 commented 5 years ago

Bug report

CDefaultEngineCoreBuilder::ConfigureInputContext returns RC_FAIL. Also RC_FAIL sometimes is returned by CBaseInputDevice::Init.

Environment

Win32 (Win10) / Visual Studio 2017

Steps to reproduce the issue

Just call CDefaultEngineCoreBuilder::ConfigureInputContext and retrieve its result value.

What's the expected result?

CDefaultEngineCoreBuilder::ConfigureInputContext should return RC_OK if the input context was successfully initialized.

What's the actual result?

CDefaultEngineCoreBuilder::ConfigureInputContext should return RC_FAIL even if the input context was successfully initialized.

bnoazx005 commented 5 years ago

Fixed in ef3d6a1a5e730415b10691e72270e2b3848bbe68