Skip to content

Commit 10b4a7c

Browse files
committed
xapp-gpu-offload-helper.h: Move new GpuInfo member to the end.
Access will remain consistent for older clients.
1 parent 913af5c commit 10b4a7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libxapp/xapp-gpu-offload-helper.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,17 @@ GType xapp_gpu_info_get_type (void) G_GNUC_CONST;
1919
* @is_default: Whether this GPU is used by default.
2020
* @display_name: User-visible name of the GPU.
2121
* @env_strv: (array zero-terminated=1): A string array containing alternating environment variables names and values to use to enable the gpu.
22+
* @is_discrete: Whether this GPU is a discrete GPU.
2223
*
2324
* Information about a single GPU used for offloading. The length of @env_strv will always be an even number.
2425
*/
2526
struct _XAppGpuInfo
2627
{
2728
gint id;
2829
gboolean is_default;
29-
gboolean is_discrete;
3030
gchar *display_name;
3131
gchar **env_strv;
32+
gboolean is_discrete;
3233
};
3334

3435
XAppGpuOffloadHelper *xapp_gpu_offload_helper_get (void);

0 commit comments

Comments
 (0)