You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int fw, fh;
glfwGetFramebufferSize(window, &fw, &fh); // Fill the window.
g_image.UpdateSize({fw, fh});
g_image.ClearImage();
g_image.DrawImage(g_vectorImage, Matrix::Identity);
I write a simple program in c++ to quickly dive into Blaze. But the image I got is broken.
Here is how it looks like:
I guess something was wrong with the multi-threading, but I can't figure out why.
Further information:
Cmakelists:
Load vectorimage:
Update image:
I use stbi_write_png to save the output:
The text was updated successfully, but these errors were encountered: