Chinamming / nebula3

Automatically exported from code.google.com/p/nebula3
1 stars 0 forks source link

volume texture code bug #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
d3d9texture.cc, line 249
==============================================================
void
D3D9Texture::SetupFromD3D9VolumeTexture(IDirect3DVolumeTexture9* texVolume)
{
    n_assert(0 != texVolume);

    this->d3d9VolumeTexture = texVolume;
    HRESULT hr = texVolume->QueryInterface(IID_IDirect3DBaseTexture9, 
(void**) &this->d3d9VolumeTexture);
===============================================================
should changed to:
HRESULT hr = texVolume->QueryInterface(IID_IDirect3DBaseTexture9, (void**) 
&this->d3d9BaseTexture);

Original issue reported on code.google.com by xoyoj...@gmail.com on 20 Sep 2008 at 6:07