Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: plugin/cross/o3d_glue.cc

Issue 150182: Fix for Windows 7 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « plugin/cross/config_common.cc ('k') | plugin/win/config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plugin/cross/o3d_glue.cc
===================================================================
--- plugin/cross/o3d_glue.cc (revision 19709)
+++ plugin/cross/o3d_glue.cc (working copy)
@@ -231,12 +231,12 @@
}
void PluginObject::CreateRenderer(const o3d::DisplayWindow& display_window) {
- renderer_ = o3d::Renderer::CreateDefaultRenderer(&service_locator_);
- DCHECK(renderer_);
-
if (!CheckConfig(npp_)) {
renderer_init_status_ = o3d::Renderer::GPU_NOT_UP_TO_SPEC;
} else {
+ renderer_ = o3d::Renderer::CreateDefaultRenderer(&service_locator_);
+ DCHECK(renderer_);
+
// Attempt to initialize renderer.
renderer_init_status_ = renderer_->Init(display_window, false);
if (renderer_init_status_ != o3d::Renderer::SUCCESS) {
« no previous file with comments | « plugin/cross/config_common.cc ('k') | plugin/win/config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698