Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
nbilyk committed Jun 14, 2019
2 parents 58f7c2d + 5933340 commit 32e5932
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ fun Scoped.createSmoothCorner(
val curvedShader = curvedShader!!
glState.shader = curvedShader
framebuffer.begin()
clearAndReset()
glState.blendMode(BlendMode.NONE, premultipliedAlpha = false)
glState.useViewport(0, 0, framebuffer.width, framebuffer.height) {
gl.uniform2f(curvedShader.getRequiredUniformLocation("u_cornerRadius"), cornerRadiusX, cornerRadiusY)
Expand Down

0 comments on commit 32e5932

Please sign in to comment.