Index: ppapi/cpp/dev/graphics_3d_dev.cc |
=================================================================== |
--- ppapi/cpp/dev/graphics_3d_dev.cc (revision 94518) |
+++ ppapi/cpp/dev/graphics_3d_dev.cc (working copy) |
@@ -87,6 +87,14 @@ |
attrib_list); |
} |
+int32_t Graphics3D_Dev::Resize(int32_t width, int32_t height) { |
+ if (!has_interface<PPB_Graphics3D_Dev>()) |
+ return PP_ERROR_NOINTERFACE; |
+ |
+ return get_interface<PPB_Graphics3D_Dev>()->Resize( |
+ pp_resource(), width, height); |
+} |
+ |
int32_t Graphics3D_Dev::SwapBuffers(const CompletionCallback& cc) { |
if (!has_interface<PPB_Graphics3D_Dev>()) |
return PP_ERROR_NOINTERFACE; |