Index: ppapi/cpp/graphics_3d.h |
=================================================================== |
--- ppapi/cpp/graphics_3d.h (revision 120596) |
+++ ppapi/cpp/graphics_3d.h (working copy) |
@@ -62,7 +62,7 @@ |
/// |
/// On failure, the object will be is_null(). |
Graphics3D(const Instance* instance, |
- const int32_t* attrib_list); |
+ const int32_t attrib_list[]); |
/// A constructor for creating and initializing a 3D rendering context. The |
/// returned context is created off-screen. It must be attached to a |
@@ -86,7 +86,7 @@ |
/// On failure, the object will be is_null(). |
Graphics3D(const Instance* instance, |
const Graphics3D& share_context, |
- const int32_t* attrib_list); |
+ const int32_t attrib_list[]); |
/// Destructor. |
~Graphics3D(); |
@@ -120,7 +120,7 @@ |
/// </code> |
/// |
/// This example retrieves the values for rgb bits in the color buffer. |
- int32_t GetAttribs(int32_t* attrib_list) const; |
+ int32_t GetAttribs(int32_t attrib_list[]) const; |
/// SetAttribs() sets the values for each attribute in |
/// <code>attrib_list</code>. The list has the same structure as the list |
@@ -133,7 +133,7 @@ |
/// - PP_ERROR_BADRESOURCE if context is invalid. |
/// - PP_ERROR_BADARGUMENT if attrib_list is NULL or any attribute in the |
/// attrib_list is not a valid attribute. |
- int32_t SetAttribs(int32_t* attrib_list); |
+ int32_t SetAttribs(const int32_t attrib_list[]); |
/// ResizeBuffers() resizes the backing surface for the context. |
/// |