Fix FallbackCyclesBlitShader compilation error

Error: C0204: version directive must be first statement and may not be
repeated
This commit is contained in:
Germano Cavalcante 2022-12-14 11:59:11 -03:00
parent f4912e7f5b
commit fe3110a285
1 changed files with 0 additions and 2 deletions

View File

@ -57,7 +57,6 @@ int BlenderDisplayShader::get_tex_coord_attrib_location()
/* TODO move shaders to standalone .glsl file. */
static const char *FALLBACK_VERTEX_SHADER =
"#version 330\n"
"uniform vec2 fullscreen;\n"
"in vec2 texCoord;\n"
"in vec2 pos;\n"
@ -75,7 +74,6 @@ static const char *FALLBACK_VERTEX_SHADER =
"}\n\0";
static const char *FALLBACK_FRAGMENT_SHADER =
"#version 330\n"
"uniform sampler2D image_texture;\n"
"in vec2 texCoord_interp;\n"
"out vec4 fragColor;\n"