summaryrefslogtreecommitdiffstats
path: root/o3d/converter
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-17 08:01:28 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-17 08:01:28 +0000
commit8e1c8a07890b2c122833c402d01e91e54540984c (patch)
tree6225cd0d1af14141ae141c3a0d3d5912af0f7eb6 /o3d/converter
parentfc9384590f192b79b4f6f071a5b1fc3257f45c28 (diff)
downloadchromium_src-8e1c8a07890b2c122833c402d01e91e54540984c.zip
chromium_src-8e1c8a07890b2c122833c402d01e91e54540984c.tar.gz
chromium_src-8e1c8a07890b2c122833c402d01e91e54540984c.tar.bz2
Change StreamBank to inherit from VertexSource
in preparation for Morph Targets Review URL: http://codereview.chromium.org/164483 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23541 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/converter')
-rw-r--r--o3d/converter/cross/primitive_stub.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/o3d/converter/cross/primitive_stub.h b/o3d/converter/cross/primitive_stub.h
index 81b4808..b17bec0 100644
--- a/o3d/converter/cross/primitive_stub.h
+++ b/o3d/converter/cross/primitive_stub.h
@@ -54,14 +54,13 @@ class PrimitiveStub : public Primitive {
: Primitive(service_locator) {}
virtual ~PrimitiveStub() {}
- // Overridden from Element
- // Renders this Element using the parameters from override first, followed by
- // the draw_element, followed by params on this Primitive and material.
- virtual void Render(Renderer* renderer,
- DrawElement* draw_element,
- Material* material,
- ParamObject* override,
- ParamCache* param_cache) {}
+ protected:
+ // Overridden from Primitive.
+ virtual void PlatformSpecificRender(Renderer* renderer,
+ DrawElement* draw_element,
+ Material* material,
+ ParamObject* override,
+ ParamCache* param_cache) {}
private:
DISALLOW_COPY_AND_ASSIGN(PrimitiveStub);