summaryrefslogtreecommitdiffstats
path: root/o3d/core/cross
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-09 19:51:35 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-09 19:51:35 +0000
commit3d9ca6bb2dc35e400da3563fa3989ae78f98e20e (patch)
treee96504eda10f6a84745390bff25b5b72ae2bb530 /o3d/core/cross
parentfd22a6b3b7f664968509559b179673859f11b60e (diff)
downloadchromium_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.cc2
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();