volume texture code bug
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
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