Git Product home page Git Product logo

nanovg-deko3d's People

Contributors

adubbz avatar andrewbelt avatar andrewcorrigan avatar cforfang avatar ckaran avatar cmaughan avatar dagagren avatar damiles avatar devnought avatar dougbinks avatar elmindreda avatar floooh avatar jacereda avatar jinshil avatar jtilander avatar lieff avatar memononen avatar mkassner avatar notlion avatar olilarkin avatar olliwang avatar plasmacel avatar rockolo avatar satoren avatar sbarisic avatar sgraham avatar smilyorg avatar starwing avatar swapsen avatar xeekworx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nanovg-deko3d's Issues

Dynamic images using nvgCreateImageMem fails

Hey!
I tried to implement dynamic images in borealis, so I used nvgCreateImageMem. However, at some resolutions of the bitmap I generate, it fails. I tracked it down to nvgCreateImageMem -> stbi_load_from_memory -> stbi_load_flip -> stbi_load_main -> stbi_bmp_load -> stbi_malloc, which sometimes fails, and sometimes doesn't.

I tried the following .bmp resolutions:
170x170 - does NOT work
257x257 - works
259x259 - works
260x260 - works
261x261 - works
262x262 - works
263x263 - works
267x267 - does NOT work

Maybe the memory which is allocated inside sbti_malloc is not aligned? You can read more about the bitmap generation I use here, I thought it might be a nanovg issue, but probably it's more an issue of this port.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.