diff options
Diffstat (limited to 'o3d/converter')
-rw-r--r-- | o3d/converter/cross/renderer_stub.cc | 18 | ||||
-rw-r--r-- | o3d/converter/cross/renderer_stub.h | 3 | ||||
-rw-r--r-- | o3d/converter/cross/texture_stub.h | 4 |
3 files changed, 0 insertions, 25 deletions
diff --git a/o3d/converter/cross/renderer_stub.cc b/o3d/converter/cross/renderer_stub.cc index 9f71be6..333f72a 100644 --- a/o3d/converter/cross/renderer_stub.cc +++ b/o3d/converter/cross/renderer_stub.cc @@ -141,24 +141,6 @@ Sampler::Ref RendererStub::CreateSampler(void) { return Sampler::Ref(new SamplerStub(service_locator())); } -Texture::Ref RendererStub::CreatePlatformSpecificTextureFromBitmap( - Bitmap *bitmap) { - if (bitmap->is_cubemap()) { - return Texture::Ref(new TextureCUBEStub(service_locator(), - bitmap->width(), - bitmap->format(), - bitmap->num_mipmaps(), - false)); - } else { - return Texture::Ref(new Texture2DStub(service_locator(), - bitmap->width(), - bitmap->height(), - bitmap->format(), - bitmap->num_mipmaps(), - false)); - } -} - Texture2D::Ref RendererStub::CreatePlatformSpecificTexture2D( int width, int height, diff --git a/o3d/converter/cross/renderer_stub.h b/o3d/converter/cross/renderer_stub.h index 9ebc860b..e6bd1eb 100644 --- a/o3d/converter/cross/renderer_stub.h +++ b/o3d/converter/cross/renderer_stub.h @@ -95,9 +95,6 @@ class RendererStub : public Renderer { explicit RendererStub(ServiceLocator* service_locator); // Overridden from Renderer. - virtual Texture::Ref CreatePlatformSpecificTextureFromBitmap(Bitmap* bitmap); - - // Overridden from Renderer. virtual void SetBackBufferPlatformSpecific(); // Overridden from Renderer. diff --git a/o3d/converter/cross/texture_stub.h b/o3d/converter/cross/texture_stub.h index 9ded546..b26107a 100644 --- a/o3d/converter/cross/texture_stub.h +++ b/o3d/converter/cross/texture_stub.h @@ -57,8 +57,6 @@ class Texture2DStub : public Texture2D { height, format, levels, - false, - false, enable_render_surfaces) {} virtual ~Texture2DStub() {} @@ -119,8 +117,6 @@ class TextureCUBEStub : public TextureCUBE { edge_length, format, levels, - false, - false, enable_render_surfaces) {} virtual ~TextureCUBEStub() {} |