/************************************************************************* Create a new texture with the given dimensions *************************************************************************/ Texture* DirectX9Renderer::createTexture(float size) { DirectX9Texture* tex = (DirectX9Texture*)createTexture(); tex->setD3DTextureSize((uint)size); return tex; }
/************************************************************************* Create a new texture with the given dimensions *************************************************************************/ Texture* DirectX9Renderer::createTexture(float size) { DirectX9Texture* tex = new DirectX9Texture(this); try { tex->setD3DTextureSize((uint)size); } catch (RendererException&) { delete tex; throw; } d_texturelist.push_back(tex); return tex; }