sebcrozet/kiss3d

how to enable MSAA / multisampling?

Closed this issue · 2 comments

I know that normally one would do something like:

glfwWindowHint(GLFW_SAMPLES, 4);
glEnable(GL_MULTISAMPLE);

However my attempts to do this have failed. The closest I got is the following, which fails with "failed to create texture":

    unsafe {
        gl::Hint(gl::FRAMEBUFFER_DEFAULT_SAMPLES, 4);
        gl::Enable(gl::MULTISAMPLE);
    }

Any progress?

Hi! I won't have time to address this issue for a while, though any PR would be appreciated in anyone else manages to get this working.