-
Notifications
You must be signed in to change notification settings - Fork 511
Crash on Startup #501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Does this patch help? diff --git a/src/render/gl3shader.cpp b/src/render/gl3shader.cpp
index 8ad45c7a..542eb97f 100644
--- a/src/render/gl3shader.cpp
+++ b/src/render/gl3shader.cpp
@@ -390,7 +390,7 @@ GLuint Generate(const std::vector<double> &pattern) {
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &size);
RgbaColor *textureData = new RgbaColor[size];
- int mipCount = (int)log2(size) + 1;
+ int mipCount = (int)log2(size);
for(int mip = 0; mip < mipCount; mip++) {
int dashI = 0;
double dashT = 0.0; |
Yep, that fixed it! Thanks for the quick fix! |
Whoops, I should have left closing this ticket up to you. |
Did you perhaps rebuild the application with a debug C++ runtime? |
Fixed in 74aa80b. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System information
SolveSpace version: 3.0 git revision 5d78f99
Operating system: Windows 10
Expected behavior
No crash...
Actual behavior
Additional information
This was working yesterday for me, but mysteriously stopped working today. Sorry for the image paste of the backtrace, but I hope it's still useful. I'm not sure I have the resolve to track down this crash further myself...
The text was updated successfully, but these errors were encountered: