fixed warning with unnecessary gl_FragColor declaration, removed program validation

This commit is contained in:
azhirnov
2019-09-25 18:57:18 +03:00
parent cff16a5cfa
commit 1d6e770cda
2 changed files with 0 additions and 2 deletions

View File

@@ -67,7 +67,6 @@ namespace
#version 410 core
#define texture2D texture
#define varying in
layout(location=0) out vec4 gl_FragColor;
)glsl";
default:
E2D_ASSERT_MSG(false, "unexpected render API profile");

View File

@@ -1479,7 +1479,6 @@ namespace e2d::opengl
GL_CHECK_CODE(debug, glLinkProgram(*id));
return process_program_linking_result(debug, *id)
&& process_program_validation_result(debug, *id)
? std::move(id)
: gl_program_id(debug);
}