Browse Source

python: properly expose the platform.wgl module.

pull/16/head
Vladimír Vondruš 4 years ago
parent
commit
e4457383c6
  1. 1
      src/python/magnum/bootstrap.h
  2. 1
      src/python/magnum/staticconfigure.h.cmake
  3. 1
      src/python/setup.py.cmake

1
src/python/magnum/bootstrap.h

@ -83,6 +83,7 @@ namespace platform {
void egl(py::module_& m);
void glx(py::module_& m);
void wgl(py::module_& m);
}
}

1
src/python/magnum/staticconfigure.h.cmake

@ -38,3 +38,4 @@
#cmakedefine Magnum_Sdl2Application_FOUND
#cmakedefine Magnum_WindowlessEglApplication_FOUND
#cmakedefine Magnum_WindowlessGlxApplication_FOUND
#cmakedefine Magnum_WindowlessWglApplication_FOUND

1
src/python/setup.py.cmake

@ -44,6 +44,7 @@ extension_paths = {
'magnum.shaders': '${magnum_shaders_file}',
'magnum.platform.egl': '${magnum_platform_egl_file}',
'magnum.platform.glx': '${magnum_platform_glx_file}',
'magnum.platform.wgl': '${magnum_platform_wgl_file}',
'magnum.platform.glfw': '${magnum_platform_glfw_file}',
'magnum.platform.sdl2': '${magnum_platform_sdl2_file}',
'magnum.text': '${magnum_text_file}',

Loading…
Cancel
Save