mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Merge branch 'gl_common' into bindless
This commit is contained in:
commit
3b5948ad85
1 changed files with 2 additions and 4 deletions
|
@ -17,8 +17,7 @@ std::string GLBackend::getBackendShaderHeader() const {
|
|||
|
||||
#if defined(USE_GLES)
|
||||
static const std::string header(
|
||||
R"SHADER(
|
||||
#version 310 es
|
||||
R"SHADER(#version 310 es
|
||||
#extension GL_EXT_texture_buffer : enable
|
||||
precision lowp float; // check precision 2
|
||||
precision lowp samplerBuffer;
|
||||
|
@ -26,8 +25,7 @@ precision lowp sampler2DShadow;
|
|||
)SHADER");
|
||||
#else
|
||||
static const std::string header(
|
||||
R"SHADER(
|
||||
#version 410 core
|
||||
R"SHADER(#version 410 core
|
||||
)SHADER");
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue