diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2010-01-17 09:48:02 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2010-01-17 09:50:31 +0800 |
commit | a7551bc68d4dbd406e8402b6485e589cca4cc859 (patch) | |
tree | db48e24efbf32687828008cf2dea0f8d6e6d0c2f | |
parent | df70f12b09cfd184df006559e36a726bf7aaa75a (diff) |
Move structs after enums.
Make the file consists of #include's, #define's, enums, and structs, and
in that order.
-rw-r--r-- | st_api.h | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -50,20 +50,6 @@ #define ST_MODULE_OPENGL_ES2 "st_module_OpenGL_ES2" #define ST_MODULE_OPENVG "st_module_OpenVG" -struct pipe_context; -struct pipe_texture; -struct pipe_fence_handle; - -struct st_visual -{ - enum pipe_format color_format; - enum pipe_format stencil_format; - enum pipe_format depth_format; - enum pipe_format accum_format; - - boolean double_buffer; -}; - /** * Used in st_context->teximage. */ @@ -101,6 +87,20 @@ enum st_context_resource_type { ST_CONTEXT_RESOURCE_OPENVG_PARENT_IMAGE, }; +struct pipe_context; +struct pipe_texture; +struct pipe_fence_handle; + +struct st_visual +{ + enum pipe_format color_format; + enum pipe_format stencil_format; + enum pipe_format depth_format; + enum pipe_format accum_format; + + boolean double_buffer; +}; + /** * Represent a windowing system drawable. * |