bnoazx005 / TDEngine2

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

[Bug] GetInternalData() of CD3D11GraphicsContext returns an invalid object #1

Closed bnoazx005 closed 6 years ago

bnoazx005 commented 6 years ago

Bug report

GetInternalData method of CD3D11GraphicsContext class returns an invalid object. All pointers equals to nullptr.

Steps to reproduce the issue

  1. Create or retrieve CD3D11GraphicsContext object
  2. Call GetInternalData
  3. Try to get some pointer from mD3D11 object of TGraphicsCtxInternalData type.

What's the expected result?

Valid pointers to D3D11 COM interfaces

What's the actual result?

nullptr pointers

bnoazx005 commented 6 years ago

Fixed in 025b3861ef8ad1ae22fdda83089aad7c075a577c commit