Contraz / demosys-py

A light high performance modern OpenGL 3.3+ Python Framework https://demosys-py.readthedocs.io/
ISC License
64 stars 5 forks source link

Support multisampling in window/context #34

Closed einarf closed 6 years ago

einarf commented 6 years ago

We should support multisampling for the default window. This can be configured in settings:

WINDOW = {
    "class": "demosys.context.glfw.GLFW_Window",
    "size": (1280, 720),
    "aspect_ratio": 16/9,
    "fullscreen": False,
    "resizable": True,
    "title": "demosys-py",
    "vsync": True,
    "cursor": True,
    "samples": 8,  # <----------
}
einarf commented 6 years ago

f53efb753c25ea4e606ca0a38c42d9c8c47aaf8e