diff options
author | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-09 19:51:35 +0000 |
---|---|---|
committer | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-09 19:51:35 +0000 |
commit | 3d9ca6bb2dc35e400da3563fa3989ae78f98e20e (patch) | |
tree | e96504eda10f6a84745390bff25b5b72ae2bb530 /o3d/core/cross | |
parent | fd22a6b3b7f664968509559b179673859f11b60e (diff) | |
download | chromium_src-3d9ca6bb2dc35e400da3563fa3989ae78f98e20e.zip chromium_src-3d9ca6bb2dc35e400da3563fa3989ae78f98e20e.tar.gz chromium_src-3d9ca6bb2dc35e400da3563fa3989ae78f98e20e.tar.bz2 |
Fix for mac/linux unit_test
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25772 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/core/cross')
-rw-r--r-- | o3d/core/cross/renderer.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/o3d/core/cross/renderer.cc b/o3d/core/cross/renderer.cc index 846c59c..fde2727 100644 --- a/o3d/core/cross/renderer.cc +++ b/o3d/core/cross/renderer.cc @@ -263,6 +263,8 @@ bool Renderer::StartRendering() { draw_elements_rendered_ = 0; primitives_rendered_ = 0; back_buffer_cleared_ = 0; + current_render_surface_ = NULL; + current_depth_surface_ = NULL; current_render_surface_is_back_buffer_ = true; result = PlatformSpecificStartRendering(); |