Skip to content

Fix GL shaders being used for GLES 2, also fix GLES 3 compile#47

Open
cscd98 wants to merge 1 commit into
libretro:masterfrom
cscd98:gles2-fix
Open

Fix GL shaders being used for GLES 2, also fix GLES 3 compile#47
cscd98 wants to merge 1 commit into
libretro:masterfrom
cscd98:gles2-fix

Conversation

@cscd98
Copy link
Copy Markdown

@cscd98 cscd98 commented May 22, 2026

When using GLES 2 it will try to use desktop GL shaders causing a runtime failure.

When compiling with GLES 3, it also fixes this issue:

``` multiple definition of `__rglgen_glDiscardFramebufferEXT'; ./libretro-common/glsym/glsym_es3.o:(.bss+0x390): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:229: openlara_libretro.so] Error 1

@cscd98 cscd98 changed the title Fix wrong shaders for GLES 2 Fix GL shaders being used for GLES 2, also fix GLES 3 compile May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant