Skip to content

Commit

Permalink
(hopefully) fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Aug 1, 2024
1 parent 84bf412 commit e9354b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app_pojavlauncher/src/main/jni/egl_bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,12 @@ int pojavInitOpenGL() {
if (strncmp("virgl", renderer, 15) == 0) {
solcraft_environ->config_renderer = RENDERER_VIRGL;
setenv("GALLIUM_DRIVER","virpipe",1);
#ifdef ADRENO_POSSIBLE
if(!checkAdrenoGraphics()) {
setenv("MESA_GL_VERSION_OVERRIDE", "3.3", 0);
setenv("MESA_GLSL_VERSION_OVERRIDE", "330", 0);
}
#endif
setenv("OSMESA_NO_FLUSH_FRONTBUFFER","1",false);
if(strcmp(getenv("OSMESA_NO_FLUSH_FRONTBUFFER"),"1") == 0) {
printf("VirGL: OSMesa buffer flush is DISABLED!\n");
Expand Down

0 comments on commit e9354b7

Please sign in to comment.