diff options
author | 2024-01-24 15:07:30 -0800 | |
---|---|---|
committer | 2024-01-24 16:23:28 -0800 | |
commit | 5e283deb8c47d3b468ff6ca4c8ef6a0f5e75dbb3 (patch) | |
tree | 1662dd7ab48973a753abec518e70a49c6730007c /opengl | |
parent | 156bb5fd1d3d6328b3d29e66b69d2650e5267ca7 (diff) |
Silence unused-but-set-variable warnings.
Test: treehugger
Change-Id: I3a4938ff00a90aeea1696dc3adafa35392855ce4
Diffstat (limited to 'opengl')
-rw-r--r-- | opengl/java/android/opengl/EGLExt.java | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/opengl/java/android/opengl/EGLExt.java b/opengl/java/android/opengl/EGLExt.java index 1570e0e22f50..31104a0d0a08 100644 --- a/opengl/java/android/opengl/EGLExt.java +++ b/opengl/java/android/opengl/EGLExt.java @@ -46,14 +46,6 @@ public class EGLExt { _nativeClassInit(); } - // C function EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time ) - - public static native boolean eglPresentationTimeANDROID( - EGLDisplay dpy, - EGLSurface sur, - long time - ); - /** * Retrieves the SyncFence for an EGLSync created with EGL_SYNC_NATIVE_FENCE_ANDROID * @@ -83,4 +75,13 @@ public class EGLExt { } private static native int eglDupNativeFenceFDANDROIDImpl(EGLDisplay display, EGLSync sync); + + // C function EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time ) + + public static native boolean eglPresentationTimeANDROID( + EGLDisplay dpy, + EGLSurface sur, + long time + ); + } |