summaryrefslogtreecommitdiffstats
path: root/o3d/core
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-09 19:52:52 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-09 19:52:52 +0000
commit69c562e10ad66f74c6e83de541eeefc34257073b (patch)
tree5293ef9f5cdf0532c4e9c26765ceac4a687bfa23 /o3d/core
parent686219194ba4effc992edc7d5e6af517192eb5a7 (diff)
downloadchromium_src-69c562e10ad66f74c6e83de541eeefc34257073b.zip
chromium_src-69c562e10ad66f74c6e83de541eeefc34257073b.tar.gz
chromium_src-69c562e10ad66f74c6e83de541eeefc34257073b.tar.bz2
minor change of render_surface_test.cc
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/core')
-rw-r--r--o3d/core/cross/render_surface_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/o3d/core/cross/render_surface_test.cc b/o3d/core/cross/render_surface_test.cc
index c70b3e0..b1bfd3c 100644
--- a/o3d/core/cross/render_surface_test.cc
+++ b/o3d/core/cross/render_surface_test.cc
@@ -145,8 +145,10 @@ TEST_F(RenderSurfaceTest, RenderSurfaceSetTest) {
RenderDepthStencilSurface* depth_surface =
pack()->CreateDepthStencilSurface(16, 32);
+ ASSERT_TRUE(depth_surface != NULL);
RenderSurfaceSet* render_surface_set = pack()->Create<RenderSurfaceSet>();
+ ASSERT_TRUE(render_surface_set != NULL);
render_surface_set->set_render_surface(render_surface);
render_surface_set->set_render_depth_stencil_surface(depth_surface);
ASSERT_TRUE(render_surface_set->ValidateBoundSurfaces());