Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gucio321 committed Apr 24, 2024
1 parent 814f380 commit e758313
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MasterWindow.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func NewMasterWindow(title string, width, height int, flags MasterWindowFlags) *
io := imgui.CurrentIO()

// TODO: removed ConfigFlagEnablePowerSavingMode
io.SetConfigFlags(imgui.BackendFlagsRendererHasVtxOffset)
// TODO: removed io.SetConfigFlags(imgui.BackendFlagsRendererHasVtxOffset)
io.SetBackendFlags(imgui.BackendFlagsRendererHasVtxOffset)

// Disable imgui.ini
Expand Down
4 changes: 2 additions & 2 deletions Plot.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func (p *PlotCanvasWidget) Build() {
}

imgui.PlotSetupAxisV(
imgui.AxisX,
imgui.AxisX1,
Context.FontAtlas.RegisterString(p.xLabel),
imgui.PlotAxisFlags(p.xFlags),
)
Expand Down Expand Up @@ -340,7 +340,7 @@ func (p *BarHPlot) Plot() {
int32(len(p.data)),
p.height,
p.shift,
imgui.PlotErrorBarsFlagsHorizontal,
imgui.PlotBarsFlagsHorizontal,
int32(p.offset),
0,
)
Expand Down

0 comments on commit e758313

Please sign in to comment.