diff options
| author | Tobin Ehlis <tobin@lunarg.com> | 2014-11-11 08:00:58 -0700 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2014-11-21 16:49:39 -0700 |
| commit | 75f3571b6fc88a0cc2cf972b318ea8e756718e66 (patch) | |
| tree | 74f107ca149397bb242561d38b55aaf75c757cd5 | |
| parent | 10c6e2e6c829b1d21291335f7470c87a77a0939c (diff) | |
| download | usermoji-75f3571b6fc88a0cc2cf972b318ea8e756718e66.tar.xz | |
layers: Update xglWsiX11GetMSC interface in layers
| -rw-r--r-- | layers/api_dump.c | 2 | ||||
| -rw-r--r-- | layers/api_file_dump.c | 6 | ||||
| -rw-r--r-- | layers/mem_tracker.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/layers/api_dump.c b/layers/api_dump.c index 40cd497a..421a40c3 100644 --- a/layers/api_dump.c +++ b/layers/api_dump.c @@ -1336,7 +1336,7 @@ XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglWsiX11AssociateConnection(XGL_PHYSICAL_GPU XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglWsiX11GetMSC(XGL_DEVICE device, xcb_window_t window, xcb_randr_crtc_t crtc, XGL_UINT64* pMsc) { XGL_RESULT result = nextTable.WsiX11GetMSC(device, window, crtc, pMsc); - printf("xglWsiX11GetMSC(device = %p, window = %i, crtc = %i, pMsc = %lu) = %s\n", (void*)device, window, crtc, *pMsc, string_XGL_RESULT(result)); + printf("xglWsiX11GetMSC(device = %p, window = %i, crtc = %u, pMsc = %lu) = %s\n", (void*)device, window, crtc, *pMsc, string_XGL_RESULT(result)); return result; } diff --git a/layers/api_file_dump.c b/layers/api_file_dump.c index 8ac75572..e6f2699d 100644 --- a/layers/api_file_dump.c +++ b/layers/api_file_dump.c @@ -1647,11 +1647,11 @@ XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglWsiX11AssociateConnection(XGL_PHYSICAL_GPU return result; } -XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglWsiX11GetMSC(XGL_DEVICE device, xcb_randr_crtc_t crtc, XGL_UINT64* pMsc) +XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglWsiX11GetMSC(XGL_DEVICE device, xcb_window_t window, xcb_randr_crtc_t crtc, XGL_UINT64* pMsc) { - XGL_RESULT result = nextTable.WsiX11GetMSC(device, crtc, pMsc); + XGL_RESULT result = nextTable.WsiX11GetMSC(device, window, crtc, pMsc); pOutFile = fopen(outFileName, "a"); - fprintf(pOutFile, "xglWsiX11GetMSC(device = %p, crtc = %u, pMsc = %lu) = %s\n", (void*)device, crtc, *pMsc, string_XGL_RESULT(result)); + fprintf(pOutFile, "xglWsiX11GetMSC(device = %p, window = %i, crtc = %u, pMsc = %lu) = %s\n", (void*)device, window, crtc, *pMsc, string_XGL_RESULT(result)); fclose(pOutFile); return result; } diff --git a/layers/mem_tracker.c b/layers/mem_tracker.c index 1a0b8af7..1bffdd0c 100644 --- a/layers/mem_tracker.c +++ b/layers/mem_tracker.c @@ -1733,9 +1733,9 @@ XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglWsiX11AssociateConnection(XGL_PHYSICAL_GPU return result; } -XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglWsiX11GetMSC(XGL_DEVICE device, xcb_randr_crtc_t crtc, XGL_UINT64* pMsc) +XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglWsiX11GetMSC(XGL_DEVICE device, xcb_window_t window, xcb_randr_crtc_t crtc, XGL_UINT64* pMsc) { - XGL_RESULT result = nextTable.WsiX11GetMSC(device, crtc, pMsc); + XGL_RESULT result = nextTable.WsiX11GetMSC(device, window, crtc, pMsc); return result; } |
