gallium/hud: fix printing byte units
[mesa.git] / src / gallium / include / state_tracker / st_api.h
index 4e563330c4dbc13849310a02c75fe0481ae6ce25..356863d8531de76a7d801637d511be254458bf1f 100644 (file)
@@ -89,6 +89,7 @@ enum st_api_feature
 #define ST_CONTEXT_FLAG_DEBUG               (1 << 0)
 #define ST_CONTEXT_FLAG_FORWARD_COMPATIBLE  (1 << 1)
 #define ST_CONTEXT_FLAG_ROBUST_ACCESS       (1 << 2)
+#define ST_CONTEXT_FLAG_RESET_NOTIFICATION_ENABLED (1 << 3)
 
 /**
  * Reasons that context creation might fail.
@@ -490,6 +491,7 @@ struct st_api
     * The format is (major*10+minor).
     */
    void (*query_versions)(struct st_api *stapi, struct st_manager *sm,
+                          struct st_config_options *options,
                           int *gl_core_version,
                           int *gl_compat_version,
                           int *gl_es1_version,
@@ -531,7 +533,7 @@ struct st_api
 /**
  * Return true if the visual has the specified buffers.
  */
-static INLINE boolean
+static inline boolean
 st_visual_have_buffers(const struct st_visual *visual, unsigned mask)
 {
    return ((visual->buffer_mask & mask) == mask);