Skip to content

Commit

Permalink
Merge pull request #5 from silenium-dev/test-ci
Browse files Browse the repository at this point in the history
chore: remove obsolete method in EGLContext
  • Loading branch information
silenium-dev authored Jul 8, 2024
2 parents 6713c6c + 9109fda commit dba0310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/dev/silenium/compose/gl/fbo/EGLContext.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dba0310

Please sign in to comment.