-
Notifications
You must be signed in to change notification settings - Fork 578
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
Incorrect stroke when AntiAliasing is OFF #701
Comments
I've seen this too, and I'm not entirely sure where it popped up. |
Confirmed... diff --git a/demo/glfw_opengl3/main.c b/demo/glfw_opengl3/main.c
index 0b6431a..9e30679 100644
--- a/demo/glfw_opengl3/main.c
+++ b/demo/glfw_opengl3/main.c
@@ -192,7 +192,7 @@ int main(void)
* defaults everything back into a default state.
* Make sure to either a.) save and restore or b.) reset your own state after
* rendering the UI. */
- nk_glfw3_render(&glfw, NK_ANTI_ALIASING_ON, MAX_VERTEX_BUFFER, MAX_ELEMENT_BUFFER);
+ nk_glfw3_render(&glfw, NK_ANTI_ALIASING_OFF, MAX_VERTEX_BUFFER, MAX_ELEMENT_BUFFER);
glfwSwapBuffers(win);
}
nk_glfw3_shutdown(&glfw); |
I've gone all the back to April, 2020 at b939d43 , and still can't find when this was actually working 🤔 |
I figured it out for the button, it's the scissor rect doesn't take into account the border If i add (randomly) -10 to the x value of the scissor's rect, then it shows properly As for the window, i have no clue, but it perhaps is the same issue? This whole border thing is fishy to me, why doesn't it affect the layout of widgets currently? |
off topic and sorry, but what VS theme r u using? |
Happens on all backends
Someone kept merging PRs without testing AA setting, no bueno
The text was updated successfully, but these errors were encountered: