Skip to content

Releases: moderngl/moderngl

4.2.0

16 Oct 21:11
Compare
Choose a tag to compare

Added

  • Default framebuffer bits attribute
  • Context.detect_framebuffer
  • Support reserving buffers with human readable sizes

Fixed

  • Standalone context on linux requires 24 bits for the depth buffer at least
  • Bound framebuffer reference count

4.1.12

22 Aug 13:59
Compare
Choose a tag to compare

Added

  • TextureCube class and Context texture_cube method
  • Context enable_only method

Changed

  • Enable flags support bitwise __or__, __and__ and __inv__
  • Framebuffer does not create a Renderbuffer when the depth_attachment is None

Removed

  • ModernGL.MULTISAMPLE constant
  • Version class and Version constants

Fixed

  • Texture3D created with wrong type

4.1.11

02 Jul 18:34
Compare
Choose a tag to compare

Added

  • Context front_face attribute

Fixed

  • VertexArray program member type
  • Context viewport attribute missing tuple cast
  • Misplaced GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS
  • Compile warnings (strict-prototypes)
  • Initial value of wireframe

4.1.10

23 Jun 20:28
Compare
Choose a tag to compare

Added

  • Documentation improvements
  • Context max_samples attribute

Fixed

  • Validate the number of samples using wrong values

New builds

  • python 3.6 wheels for Linux x64
  • python 3.6 wheels for Linux x86
  • python 3.5 wheels for Mac x64

4.1.9

23 Jun 05:47
Compare
Choose a tag to compare

Added

  • Context info attribute
  • Support Textures in copy_framebuffer
  • Texture floats attribute

Fixed

  • 3D texture depth attribute type

4.1.8

19 Jun 17:05
Compare
Choose a tag to compare

Added

  • 3D texture support (Texture3D class and Context texture3d method)
  • Context max_integer_samples attribute
  • Fallback display for linux

Removed

  • Unused texture's read method's viewport parameter

Fixed

  • Broken framebuffer color_attachments attribute
  • Segmentation fault when creating a texture using string data by mistake
  • Validate Renderbuffer and Texture samples

4.1.7

13 Jun 14:30
Compare
Choose a tag to compare

Added

  • Uniform read and write methods
  • write_offset parameter for the read_into methods
  • Read framebuffer's pixels to a buffer
  • Read texture's pixels to a buffer
  • Write texture's from a buffer
  • Pixel Buffer Object

Fixed

  • Default framebuffer wrong drawbuffers
  • Framebuffer non zero viewport settings
  • Uniform setter error messages

4.1.6

12 Jun 16:27
Compare
Choose a tag to compare

Fixed

  • Broken uniform setter in 4.1.5

4.1.5

09 Jun 07:02
Compare
Choose a tag to compare

Fixed

  • Modifying framebuffer properties has no effect unless the framebuffer is explicitly bound

4.1.4

07 Jun 16:28
Compare
Choose a tag to compare

Added

  • Framebuffer color_mask attribute
  • Framebuffer depth_mask attribute
  • Framebuffer viewport attribute

Fixed

  • copy_framebuffer using default_framebuffer
  • Failing __repr__ in VertexArrays

Changed

  • Framebuffer methods do not affect the bound framebuffer

Removed

  • Invalid texture sampling parameters for multisample textures
  • Invalid texture sampling parameters for depth textures