Jools Wills
82ce83185e
Fix building on OpenGL ES 2.0 (RPI VideoCore IV)
...
GL_COMPRESSED_RGBA_ASTC_4x4_KHR is not defined and looks to be an OpenGL ES 3.0 extension.
This fixes building on the Raspberry Pi 1-3 using VideoCore IV OpenGL ES 2.0 headers.
2023-11-21 20:16:09 +00:00
haorui
fb91cf9b21
align should be 3 when format is GL_RGB and type is GL_UNSIGNED_BYTE
2023-06-24 16:09:28 +08:00
Henrik Rydgård
c6e0027604
OpenGL: Try a different way to exclude desktop compression formats in build
...
May fix #17110
2023-03-14 16:09:40 +01:00
Henrik Rydgård
25fbfd7a89
Finish up OpenGL compressed texture format checks. Show in dev screen
2023-03-12 12:20:10 +01:00
Henrik Rydgård
95ae2d91f9
Couple of more GL enums
2023-03-11 21:51:39 +01:00
Henrik Rydgård
a98d2d5ecf
Mac buildfix
2023-03-11 11:42:41 +01:00
Henrik Rydgård
f936a6e9ce
Structs and enums and build files
2023-03-11 11:19:33 +01:00
Unknown W. Brackets
ce79649c02
GLES: Use GL_LUMINANCE on GLES for indexed tex.
...
See #16176 , used for rendered CLUTs.
2022-10-08 17:32:11 -07:00
Henrik Rydgård
a208afb7b8
OpenGL and D3D11 fixes
2022-09-14 23:35:15 +02:00
Henrik Rydgård
6744fe3da1
OpenGL fix
2022-09-14 22:18:34 +02:00
Henrik Rydgård
a52e62a187
Enable depth uploads on render-to-clut-buffer. Esoteric but needed for #11100 . Compat flag for now.
2022-09-14 22:18:34 +02:00
Henrik Rydgård
0e3a84b4a8
Move most GPU things to Common.
...
It works after the move, on Windows and Android at least.
Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00