ptitSeb / gl4es

GL4ES is a OpenGL 2.1/1.5 to GL ES 2.0/1.1 translation library, with support for Pandora, ODroid, OrangePI, CHIP, Raspberry PI, Android, Emscripten and AmigaOS4.
http://ptitseb.github.io/gl4es/
MIT License
694 stars 159 forks source link

GL errors when running Half Life 2 with wine, box86 and gl4es #336

Open Moldytzu opened 3 years ago

Moldytzu commented 3 years ago

Hi Seb! I'm running Half Life 2 using box86 and gl4es thru wine. The terminal is spammed with this: LIBGL: FPE Custom Vertex shader compile failed: 0:16: P0001: Extension directive must occur before any non-preprocessor tokens and 017c:err:d3d:wined3d_check_gl_call >>>>>>> GL_INVALID_ENUM (0x500) from glTexParameteri(GL_DEPTH_TEXTURE_MODE_ARB, GL_INTENSITY) @ texture.c / 1194.

And also the screen is black.

I've uploaded the whole terminal output on pastebin: https://pastebin.com/1TypdRdD (I trimed the unrelevant output from wine)

Hope you will fix it!

Moldytzu commented 3 years ago

UPDATE: Older versions just crash without any error message.