diff --git a/gapis/api/gles/templates/api_exports.cpp.tmpl b/gapis/api/gles/templates/api_exports.cpp.tmpl index c7850bcc73..5fb1c3da32 100644 --- a/gapis/api/gles/templates/api_exports.cpp.tmpl +++ b/gapis/api/gles/templates/api_exports.cpp.tmpl @@ -94,8 +94,8 @@ Symbol kGLESExports[] = { {{$name := Macro "CmdName" $c}} {{$imports := print (Title (Global "API")) "Spy::imports()"}} EXPORT {{Template "C++.ReturnType" $c}} STDCALL {{$name}}({{Template "C++.CallParameters" $c}}) { - Spy* s = Spy::get(); GAPID_DEBUG({{Template "C++.PrintfCommandCall" $c}}); + Spy* s = Spy::get(); auto spy_ctx = s->enter("{{$name}}", GlesAPI); {{if not (IsVoid $c.Return.Type)}}auto _result_ = ยง{{end}} s->{{$name}}({{Macro "C++.CallArguments" $c | Strings "spy_ctx" | JoinWith ", "}});