Skip to content

Commit

Permalink
Fix[style]: fix eglGetProcAddress spacing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
artdeell committed Nov 15, 2024
1 parent b7e319f commit f35972a
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions app_pojavlauncher/src/main/jni/ctxbridges/egl_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,22 @@ bool dlsym_EGL() {
return false;
}
eglBindAPI_p = (void*) eglGetProcAddress_p("eglBindAPI");
eglChooseConfig_p = (void*) eglGetProcAddress_p( "eglChooseConfig");
eglCreateContext_p = (void*) eglGetProcAddress_p( "eglCreateContext");
eglCreatePbufferSurface_p = (void*) eglGetProcAddress_p( "eglCreatePbufferSurface");
eglCreateWindowSurface_p = (void*) eglGetProcAddress_p( "eglCreateWindowSurface");
eglDestroyContext_p = (void*) eglGetProcAddress_p( "eglDestroyContext");
eglDestroySurface_p = (void*) eglGetProcAddress_p( "eglDestroySurface");
eglGetConfigAttrib_p = (void*) eglGetProcAddress_p( "eglGetConfigAttrib");
eglGetCurrentContext_p = (void*) eglGetProcAddress_p( "eglGetCurrentContext");
eglGetDisplay_p = (void*) eglGetProcAddress_p( "eglGetDisplay");
eglGetError_p = (void*) eglGetProcAddress_p( "eglGetError");
eglInitialize_p = (void*) eglGetProcAddress_p( "eglInitialize");
eglMakeCurrent_p = (void*) eglGetProcAddress_p( "eglMakeCurrent");
eglSwapBuffers_p = (void*) eglGetProcAddress_p( "eglSwapBuffers");
eglReleaseThread_p = (void*) eglGetProcAddress_p( "eglReleaseThread");
eglSwapInterval_p = (void*) eglGetProcAddress_p( "eglSwapInterval");
eglTerminate_p = (void*) eglGetProcAddress_p( "eglTerminate");
eglChooseConfig_p = (void*) eglGetProcAddress_p("eglChooseConfig");
eglCreateContext_p = (void*) eglGetProcAddress_p("eglCreateContext");
eglCreatePbufferSurface_p = (void*) eglGetProcAddress_p("eglCreatePbufferSurface");
eglCreateWindowSurface_p = (void*) eglGetProcAddress_p("eglCreateWindowSurface");
eglDestroyContext_p = (void*) eglGetProcAddress_p("eglDestroyContext");
eglDestroySurface_p = (void*) eglGetProcAddress_p("eglDestroySurface");
eglGetConfigAttrib_p = (void*) eglGetProcAddress_p("eglGetConfigAttrib");
eglGetCurrentContext_p = (void*) eglGetProcAddress_p("eglGetCurrentContext");
eglGetDisplay_p = (void*) eglGetProcAddress_p("eglGetDisplay");
eglGetError_p = (void*) eglGetProcAddress_p("eglGetError");
eglInitialize_p = (void*) eglGetProcAddress_p("eglInitialize");
eglMakeCurrent_p = (void*) eglGetProcAddress_p("eglMakeCurrent");
eglSwapBuffers_p = (void*) eglGetProcAddress_p("eglSwapBuffers");
eglReleaseThread_p = (void*) eglGetProcAddress_p("eglReleaseThread");
eglSwapInterval_p = (void*) eglGetProcAddress_p("eglSwapInterval");
eglTerminate_p = (void*) eglGetProcAddress_p("eglTerminate");
eglGetCurrentSurface_p = (void*) eglGetProcAddress_p("eglGetCurrentSurface");
return true;
}

0 comments on commit f35972a

Please sign in to comment.