Skip to content

Commit eec4dcf

Browse files
committed
add basic call logging for clGetGLContextInfoKHR parameters
1 parent c9db413 commit eec4dcf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

intercept/src/dispatch.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7659,7 +7659,9 @@ CL_API_ENTRY cl_int CL_API_CALL clGetGLContextInfoKHR(
76597659
if( pIntercept && pIntercept->dispatch().clGetGLContextInfoKHR )
76607660
{
76617661
GET_ENQUEUE_COUNTER();
7662-
CALL_LOGGING_ENTER();
7662+
CALL_LOGGING_ENTER( "param_name = %s (%08X)",
7663+
pIntercept->enumName().name( param_name ).c_str(),
7664+
param_name );
76637665
HOST_PERFORMANCE_TIMING_START();
76647666

76657667
cl_int retVal = pIntercept->dispatch().clGetGLContextInfoKHR(

0 commit comments

Comments
 (0)