Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Functional Interfaces turn this:
- glfwSetFramebufferSizeCallback(window, (framebufferSizeCallback = new GLFWFramebufferSizeCallback() {
- @Override
- public void invoke(long window, int width, int height) {
- onResize(width, height);
- }
- }));
- Into this:
- glfwSetFramebufferSizeCallback(window, (framebufferSizeCallback = GLFWFramebufferSizeCallback.create(this::onResize)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement