From d2a4c4b5b85f0f3187a0542b172742571c2ca660 Mon Sep 17 00:00:00 2001 From: Silas Della Contrada Date: Mon, 8 Jul 2024 21:56:59 +0200 Subject: [PATCH 1/2] chore: remove obsolete method in EGLContext --- src/main/java/dev/silenium/compose/gl/fbo/EGLContext.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/dev/silenium/compose/gl/fbo/EGLContext.kt b/src/main/java/dev/silenium/compose/gl/fbo/EGLContext.kt index 99eb355..d277249 100644 --- a/src/main/java/dev/silenium/compose/gl/fbo/EGLContext.kt +++ b/src/main/java/dev/silenium/compose/gl/fbo/EGLContext.kt @@ -29,10 +29,6 @@ data class EGLContext( eglMakeCurrent(display, surface, surface, context) } - fun swapBuffers() { - eglSwapBuffers(display, surface) - } - fun destroy() { eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT) eglDestroyContext(display, context) From 9109fda2f620e146b3ed366a8d0fd2f0f5a38531 Mon Sep 17 00:00:00 2001 From: Silas Della Contrada Date: Mon, 8 Jul 2024 21:58:43 +0200 Subject: [PATCH 2/2] ci: allow contents access for push workflow --- .github/workflows/build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bd943f2..40e1337 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,6 +6,8 @@ env: REPOSILITE_USERNAME: ${{ secrets.REPOSILITE_USERNAME }} REPOSILITE_PASSWORD: ${{ secrets.REPOSILITE_PASSWORD }} REPOSILITE_URL: "https://reposilite.silenium.dev/snapshots" +permissions: + contents: write jobs: build: runs-on: ubuntu-latest