Comments (3)
from imgui-go.
My go version is 1.18
from imgui-go.
Hello there, and thank you for your patience.
This particular assert ensures that back()
is only called when there is at least one element in the Data
array. If it is empty, the Size
member will most likely be zero, and thus the calculation of 0 - 1
will result in accessing memory that is not meant to be read.
You could compare this to an "array index out of bounds" panic in Go.
You need to trace back why this back()
is called in a case where the corresponding list is empty.
from imgui-go.
Related Issues (20)
- feat: MouseWheel HOT 1
- Exception 0xc0000005 - unknown pc HOT 6
- Breaking Changes in 0feeb7fcffbf1163271bbaf1096839cb73653b05 HOT 2
- Debbuger gets stuck on C.glfwCreateWindow() when imgui is imported. HOT 6
- Font.AddFontFromFileBytes method - feature request HOT 1
- input text multiline: keyboard shortcuts HOT 7
- AddText can't change font. HOT 4
- Thoughts about supporting imgui extensions HOT 3
- panic: Assertion failed! Expression: font && font->IsLoaded() HOT 1
- imgui.Textf for ease of use? HOT 1
- Compile for WASM? HOT 5
- Cant compile for x64 windows architecture. HOT 5
- Iamgi
- Add image rotation or show example of using AddImageV HOT 5
- Add Image::AddImageQuad method HOT 4
- about window drag HOT 1
- GitHub Actions tests fail for Windows HOT 4
- Possible to use input field elements without the simluated window? HOT 2
- ConfigWindowsMoveFromTitleBarOnly available? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imgui-go.