Commit Graph

14 Commits

Author SHA1 Message Date
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
ts-korhonen
b1eeef7527 qt: Remove pragma parameters from shaders.
Fixes Intel HD4000 crashing on windows when selecting shaders, probably
also fixes Intel HD4400 shader errors.
2022-03-12 15:39:39 +02:00
ts-korhonen
105fe47bf3 qt: GL core; use safe version of strcpy 2022-03-12 15:38:44 +02:00
ts-korhonen
d821f6395f qt: opengl core; fix filter method defaulting to nearest when applying options 2022-03-07 19:22:02 +02:00
ts-korhonen
652d7e6699 qt: gl-core; Use 4.1 core macOS & get glsl version from context
MacOS will use OpenGL 2.1 unless requested 4.1 core. Shader language
version is now set to what is reported by the driver.
2022-03-06 01:06:47 +02:00
ts-korhonen
828accc91d qt: More error handling and tweaking to opengl 3 renderer 2022-03-05 02:57:57 +02:00
ts-korhonen
055a0b307c Merge branch 'master' of https://github.com/86Box/86Box into qt-opengl-renderer 2022-03-02 17:32:32 +02:00
Cacodemon345
c213f287b1 qt: Fix loading of shaders using GL_ARB_shading_language_420pack extension 2022-03-02 14:45:28 +06:00
ts-korhonen
109683300a qt: Add fallback to default shader on load 2022-03-01 22:22:58 +02:00
Cacodemon345
ee69b022fc qt: OpenGL ES 3.0 support 2022-03-01 13:31:19 +06:00
ts-korhonen
4ec8e80042 qt: Fix shader path copying to config.
memcpy corrupted the path, use strcpy instead.
2022-02-27 20:56:47 +02:00
ts-korhonen
c9714c9bfc qt: Try to fix linux gcc 11 build 2022-02-27 20:22:28 +02:00
ts-korhonen
1dcb712ef7 qt: Remove QFlags from OpenGLOptions.
Didn't work in ubuntu and was a bad design attempt to mimic win32
options change detection.
2022-02-27 16:45:57 +02:00
ts-korhonen
d2a9389ce7 qt: Initial OpenGL 3.0 renderer implementation 2022-02-27 14:56:51 +02:00