diff options
Diffstat (limited to 'o3d/converter')
-rw-r--r-- | o3d/converter/cross/renderer_stub.cc | 5 | ||||
-rw-r--r-- | o3d/converter/cross/renderer_stub.h | 8 | ||||
-rw-r--r-- | o3d/converter/cross/texture_stub.h | 6 |
3 files changed, 9 insertions, 10 deletions
diff --git a/o3d/converter/cross/renderer_stub.cc b/o3d/converter/cross/renderer_stub.cc index c53d2d5..9f71be6 100644 --- a/o3d/converter/cross/renderer_stub.cc +++ b/o3d/converter/cross/renderer_stub.cc @@ -196,9 +196,8 @@ StreamBank::Ref RendererStub::CreateStreamBank() { return StreamBank::Ref(new StreamBankStub(service_locator())); } -bool RendererStub::SaveScreen(const String &) { - DCHECK(false); - return true; +Bitmap::Ref RendererStub::TakeScreenshot() { + return Bitmap::Ref(); } ParamCache *RendererStub::CreatePlatformSpecificParamCache(void) { diff --git a/o3d/converter/cross/renderer_stub.h b/o3d/converter/cross/renderer_stub.h index afd5d41..9ebc860b 100644 --- a/o3d/converter/cross/renderer_stub.h +++ b/o3d/converter/cross/renderer_stub.h @@ -35,8 +35,8 @@ // can use it for serialization of the scene graph on all systems // without needing graphics. -#ifndef O3D_CONVERTER_CROSS_RENDERER_STUB_H__ -#define O3D_CONVERTER_CROSS_RENDERER_STUB_H__ +#ifndef O3D_CONVERTER_CROSS_RENDERER_STUB_H_ +#define O3D_CONVERTER_CROSS_RENDERER_STUB_H_ #include "core/cross/renderer.h" @@ -79,7 +79,7 @@ class RendererStub : public Renderer { virtual RenderDepthStencilSurface::Ref CreateDepthStencilSurface(int width, int height); virtual StreamBank::Ref CreateStreamBank(); - virtual bool SaveScreen(const String& file_name); + virtual Bitmap::Ref TakeScreenshot(); ParamCache *CreatePlatformSpecificParamCache(); virtual void SetViewportInPixels(int left, int top, @@ -123,4 +123,4 @@ class RendererStub : public Renderer { } // namespace o3d -#endif // O3D_CONVERTER_CROSS_RENDERER_STUB_H__ +#endif // O3D_CONVERTER_CROSS_RENDERER_STUB_H_ diff --git a/o3d/converter/cross/texture_stub.h b/o3d/converter/cross/texture_stub.h index 43888d4..9ded546 100644 --- a/o3d/converter/cross/texture_stub.h +++ b/o3d/converter/cross/texture_stub.h @@ -32,8 +32,8 @@ // This file contains the declarations for Texture2DStub and TextureCUBEStub. -#ifndef O3D_CONVERTER_CROSS_TEXTURE_STUB_H__ -#define O3D_CONVERTER_CROSS_TEXTURE_STUB_H__ +#ifndef O3D_CONVERTER_CROSS_TEXTURE_STUB_H_ +#define O3D_CONVERTER_CROSS_TEXTURE_STUB_H_ #include "core/cross/bitmap.h" #include "core/cross/texture.h" @@ -175,4 +175,4 @@ class TextureCUBEStub : public TextureCUBE { } // namespace o3d -#endif // O3D_CONVERTER_CROSS_TEXTURE_STUB_H__ +#endif // O3D_CONVERTER_CROSS_TEXTURE_STUB_H_ |