Cannot launch SDK 1.23 samples after latest patch/upgrade.
Hi,
something strange is going on, since I applied that patch to make OR work again it seems "something odd happened" I cannot launch the code samples any more.
Specifically they all seems to fail in this point :
// create color texture swap chain first
{
ovrTextureSwapChainDesc desc = {};
desc.Type = ovrTexture_2D;
desc.ArraySize = 1;
desc.Width = sizeW;
desc.Height = sizeH;
desc.MipLevels = 1;
desc.SampleCount = sampleCount;
desc.Format = OVR_FORMAT_R8G8B8A8_UNORM_SRGB;
desc.MiscFlags = ovrTextureMisc_DX_Typeless | ovrTextureMisc_AutoGenerateMips;
desc.BindFlags = ovrTextureBind_DX_RenderTarget;
desc.StaticImage = ovrFalse;
ovrResult result = ovr_CreateTextureSwapChainDX(session, DIRECTX.Device, &desc, &TextureChain);
if (!OVR_SUCCESS(result))
return false;
With a crash when ovr_CreateTextureSwapChainDX() is called that leads into a :
bool const should_call_new_handler{_query_new_mode() != 0};
for (;;)
{
void* const block{heap_alloc_dbg_internal(size, block_use, file_name, line_number)};
if (block)
return block;
So it's like a new() ? operator or something similar does not work.
What's going on/should I do ? All samples now seems not to work any more.
Thanks.
something strange is going on, since I applied that patch to make OR work again it seems "something odd happened" I cannot launch the code samples any more.
Specifically they all seems to fail in this point :
// create color texture swap chain first
{
ovrTextureSwapChainDesc desc = {};
desc.Type = ovrTexture_2D;
desc.ArraySize = 1;
desc.Width = sizeW;
desc.Height = sizeH;
desc.MipLevels = 1;
desc.SampleCount = sampleCount;
desc.Format = OVR_FORMAT_R8G8B8A8_UNORM_SRGB;
desc.MiscFlags = ovrTextureMisc_DX_Typeless | ovrTextureMisc_AutoGenerateMips;
desc.BindFlags = ovrTextureBind_DX_RenderTarget;
desc.StaticImage = ovrFalse;
ovrResult result = ovr_CreateTextureSwapChainDX(session, DIRECTX.Device, &desc, &TextureChain);
if (!OVR_SUCCESS(result))
return false;
With a crash when ovr_CreateTextureSwapChainDX() is called that leads into a :
bool const should_call_new_handler{_query_new_mode() != 0};
for (;;)
{
void* const block{heap_alloc_dbg_internal(size, block_use, file_name, line_number)};
if (block)
return block;
So it's like a new() ? operator or something similar does not work.
What's going on/should I do ? All samples now seems not to work any more.
Thanks.
