From 3a597c0efaceb6b6d6aa60d35497200f2ee94ef6 Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Thu, 23 Oct 2014 10:59:23 -0600 Subject: layers: update documentation --- layers/basic_plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layers/basic_plugin.c') diff --git a/layers/basic_plugin.c b/layers/basic_plugin.c index 3807d493..1674107d 100644 --- a/layers/basic_plugin.c +++ b/layers/basic_plugin.c @@ -144,7 +144,7 @@ XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglGetGpuInfo(XGL_PHYSICAL_GPU gpu, XGL_PHYSI XGL_BASE_LAYER_OBJECT* gpuw = (XGL_BASE_LAYER_OBJECT *) gpu; printf("At start of wrapped xglGetGpuInfo() call w/ gpu: %p\n", (void*)gpu); pCurObj = gpuw; - pthread_once(&tabOnce, initLayerTable); + pthread_once(&tabOnce, initLayerTable); //Required for LD_PRELOAD case XGL_RESULT result = myTable.GetGpuInfo((XGL_PHYSICAL_GPU)gpuw->nextObject, infoType, pDataSize, pData); printf("Completed wrapped xglGetGpuInfo() call w/ gpu: %p\n", (void*)gpu); return result; @@ -155,7 +155,7 @@ XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglCreateDevice(XGL_PHYSICAL_GPU gpu, const X XGL_BASE_LAYER_OBJECT* gpuw = (XGL_BASE_LAYER_OBJECT *) gpu; printf("At start of wrapped xglCreateDevice() call w/ gpu: %p\n", (void*)gpu); pCurObj = gpuw; - pthread_once(&tabOnce, initLayerTable); + pthread_once(&tabOnce, initLayerTable); //Required for LD_PRELOAD case XGL_RESULT result = myTable.CreateDevice((XGL_PHYSICAL_GPU)gpuw->nextObject, pCreateInfo, pDevice); printf("Completed wrapped xglCreateDevice() call w/ pDevice: %p\n", (void*)pDevice); return result; -- cgit v1.2.3