Code: Select all
ITexture* tex = new CD3D9Texture(this, size, name, format);
if (tex)
{
checkDepthBuffer(tex);
addTexture(tex);
tex->drop();
}
return tex;
Code: Select all
ITexture* tex = new CD3D9Texture(this, size, name, format);
if (tex)
{
checkDepthBuffer(tex);
addTexture(tex);
tex->drop();
}
return tex;