mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-14 16:09:06 +07:00
fixed warning with unnecessary gl_FragColor declaration, removed program validation
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user