layers: Fix APIDump param generation for Cpp versus C
Remanent from the merge of glave_integration.
diff --git a/xgl-layer-generate.py b/xgl-layer-generate.py
index a81ee44..3e2d825 100755
--- a/xgl-layer-generate.py
+++ b/xgl-layer-generate.py
@@ -288,7 +288,7 @@
param0_name = proto.params[0].name
ret_val = ''
stmt = ''
- sp_param_dict = {} # Store 'index' func has struct param to print, or an name of binding "Count" param for array to print
+ cis_param_index = [] # Store 'index' func has struct param to print, or an name of binding "Count" param for array to print
create_params = 0 # Num of params at end of function that are created and returned as output values
if 'WsiX11CreatePresentableImage' in proto.name:
create_params = -2
@@ -399,7 +399,7 @@
param0_name = proto.params[0].name
ret_val = ''
stmt = ''
- cis_param_index = [] # Store list of indices when func has struct params
+ sp_param_dict = {} # Store list of indices when func has struct params
create_params = 0 # Num of params at end of function that are created and returned as output values
if 'WsiX11CreatePresentableImage' in proto.name:
create_params = -2