mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-02-16 17:35:39 +00:00
Fix new 3D engine texture2DLod function missing error on Linux/MESA. MESA requires needed extensions to be explicitly declared in code otherwise it will not enable them.
This commit is contained in:
parent
aae58edd62
commit
412e9232d7
|
@ -62,6 +62,7 @@ void main(void)
|
||||||
static const char *fragmentShaderR3D = R"glsl(
|
static const char *fragmentShaderR3D = R"glsl(
|
||||||
|
|
||||||
#version 120
|
#version 120
|
||||||
|
#extension GL_ARB_shader_texture_lod : require
|
||||||
|
|
||||||
uniform sampler2D tex1; // base tex
|
uniform sampler2D tex1; // base tex
|
||||||
uniform sampler2D tex2; // micro tex (optional)
|
uniform sampler2D tex2; // micro tex (optional)
|
||||||
|
|
Loading…
Reference in a new issue