summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEleni Maria Stea <[email protected]>2018-01-25 13:09:00 -0700
committerBrian Paul <[email protected]>2018-01-26 08:17:55 -0700
commit8096b558a7d769b20b1545b83399d67b8a3df94a (patch)
tree799a2805c34a40db3ae0ea08acf320a7c556dfd7 /src
parentd3ce493b34d6c2cacaf4dd17d8646b4db7448784 (diff)
mesa: Fix function pointers initialization in status tracker
We assigned the function that gets the device uuid to the GetDriverUuid function pointer and the function that gets the driver uuid to the GetDeviceUuid function pointer inside the state tracker. Exchanged the pointers. cc: [email protected] Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index eb6c4588197..3b0dda68c35 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -753,8 +753,8 @@ st_init_driver_functions(struct pipe_screen *screen,
functions->UpdateState = st_invalidate_state;
functions->QueryMemoryInfo = st_query_memory_info;
functions->SetBackgroundContext = st_set_background_context;
- functions->GetDriverUuid = st_get_device_uuid;
- functions->GetDeviceUuid = st_get_driver_uuid;
+ functions->GetDriverUuid = st_get_driver_uuid;
+ functions->GetDeviceUuid = st_get_device_uuid;
/* GL_ARB_get_program_binary */
functions->GetProgramBinaryDriverSHA1 = st_get_program_binary_driver_sha1;