0.2.1
This release fixed a bug on the Shaders.scala file.
Before shaders exposed the Ptr[Byte] and it was the user's job to use a Zone block to handle them.
Zone {
val t = stackalloc[Float]()
!t = elapsed
Shaders.setShaderValue(shader, timeLoc, t.asInstanceOf[Ptr[Byte]], 0x1406)
}Now the user just calls the setShaderValue function and passes its parameters just as like any other function.
Shaders.setShaderValue(shader, timeLoc, elapsed)Full Changelog: 0.2.0...0.2.1