Browse Source

python: um, why a 8-bit type?

pull/2/head
Vladimír Vondruš 7 years ago
parent
commit
5a438ed474
  1. 2
      src/python/magnum/gl.cpp

2
src/python/magnum/gl.cpp

@ -321,7 +321,7 @@ void gl(py::module& m) {
"Framebuffer", "Framebuffer"};
py::class_<GL::Framebuffer::ColorAttachment>{framebuffer, "ColorAttachment", "Color attachment"}
.def(py::init<UnsignedByte>(), "Constructor");
.def(py::init<UnsignedInt>(), "Constructor");
py::class_<GL::Framebuffer::BufferAttachment>{framebuffer, "BufferAttachment", "Buffer attachment"}
.def(py::init<GL::Framebuffer::ColorAttachment>(), "Color buffer")

Loading…
Cancel
Save