Browse Source

Initialize default slot sampling parameters from the global context. (#8418)

Clint Herron 1 năm trước cách đây
mục cha
commit
278d0e1846
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      examples/server/server.cpp

+ 2 - 0
examples/server/server.cpp

@@ -737,6 +737,8 @@ struct server_context {
             slot.ga_n = ga_n;
             slot.ga_w = ga_w;
 
+            slot.sparams = params.sparams;
+
             slot.reset();
 
             slots.push_back(slot);