| Index: ppapi/c/ppb_graphics_3d.h
|
| diff --git a/ppapi/c/ppb_graphics_3d.h b/ppapi/c/ppb_graphics_3d.h
|
| index 8c409f1c8fd7f37ed01fd4977b32f25922db6a33..1da70a068eb5e1c03582c5c44f07fdce6055dd6b 100644
|
| --- a/ppapi/c/ppb_graphics_3d.h
|
| +++ b/ppapi/c/ppb_graphics_3d.h
|
| @@ -37,25 +37,25 @@
|
| * <strong>Example usage from plugin code:</strong>
|
| *
|
| * <strong>Setup:</strong>
|
| - * <code>
|
| + * @code
|
| * PP_Resource context;
|
| * int32_t attribs[] = {PP_GRAPHICS3DATTRIB_WIDTH, 800,
|
| * PP_GRAPHICS3DATTRIB_HEIGHT, 800,
|
| * PP_GRAPHICS3DATTRIB_NONE};
|
| * context = g3d->Create(instance, attribs, &context);
|
| * inst->BindGraphics(instance, context);
|
| - * </code>
|
| + * @endcode
|
| *
|
| * <strong>Present one frame:</strong>
|
| - * <code>
|
| + * @code
|
| * gles2->Clear(context, GL_COLOR_BUFFER);
|
| * g3d->SwapBuffers(context);
|
| - * </code>
|
| + * @endcode
|
| *
|
| * <strong>Shutdown:</strong>
|
| - * <code>
|
| + * @code
|
| * core->ReleaseResource(context);
|
| - * </code>
|
| + * @endcode
|
| */
|
| struct PPB_Graphics3D_1_0 {
|
| /**
|
| @@ -176,7 +176,7 @@ struct PPB_Graphics3D_1_0 {
|
| *
|
| * <strong>Example usage:</strong> To get the values for rgb bits in the
|
| * color buffer, this function must be called as following:
|
| - * <code>
|
| + * @code
|
| * int attrib_list[] = {PP_GRAPHICS3DATTRIB_RED_SIZE, 0,
|
| * PP_GRAPHICS3DATTRIB_GREEN_SIZE, 0,
|
| * PP_GRAPHICS3DATTRIB_BLUE_SIZE, 0,
|
| @@ -185,7 +185,7 @@ struct PPB_Graphics3D_1_0 {
|
| * int red_bits = attrib_list[1];
|
| * int green_bits = attrib_list[3];
|
| * int blue_bits = attrib_list[5];
|
| - * </code>
|
| + * @endcode
|
| */
|
| int32_t (*GetAttribs)(PP_Resource context, int32_t attrib_list[]);
|
| /**
|
|
|