Skip to content

Commit

Permalink
修复采样参数对GPU和FPS不生效问题
Browse files Browse the repository at this point in the history
  • Loading branch information
aoliaoaoaojiao authored Mar 27, 2023
1 parent e6c7937 commit 7eb5aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perfd.go
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ func (c *perfdGraphicsOpengl) Start() (data <-chan []byte, err error) {
if _, err = c.i.call(
instrumentsServiceGraphicsOpengl,
"setSamplingRate:",
float64(c.options.OutputInterval)/100,
c.options.OutputInterval/100,
); err != nil {
return nil, err
}
Expand Down

0 comments on commit 7eb5aee

Please sign in to comment.