3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-27 05:35:37 +02:00

Merge branch 'gl_common' into bindless

This commit is contained in:
Brad Davis 2018-03-21 19:16:34 -07:00
commit 3b5948ad85

View file

@ -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