summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-17 09:48:02 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-17 09:50:31 +0800
commita7551bc68d4dbd406e8402b6485e589cca4cc859 (patch)
treedb48e24efbf32687828008cf2dea0f8d6e6d0c2f
parentdf70f12b09cfd184df006559e36a726bf7aaa75a (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.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/st_api.h b/st_api.h
index 4bfe947..1e53920 100644
--- a/st_api.h
+++ b/st_api.h
@@ -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.
*