summaryrefslogtreecommitdiffstats
path: root/gpu/demos
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/demos')
-rw-r--r--gpu/demos/framework/pepper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/demos/framework/pepper.cc b/gpu/demos/framework/pepper.cc
index 3a2e180b..831e094 100644
--- a/gpu/demos/framework/pepper.cc
+++ b/gpu/demos/framework/pepper.cc
@@ -88,7 +88,7 @@ class PluginInstance : public pp::Instance {
PP_GRAPHICS3DATTRIB_HEIGHT, size_.height(),
PP_GRAPHICS3DATTRIB_NONE
};
- context_ = pp::Graphics3D(*this, pp::Graphics3D(), attribs);
+ context_ = pp::Graphics3D(this, attribs);
if (context_.is_null())
return;