Remove unused List from logGlErrorSummary

This commit is contained in:
Kae 2023-06-23 19:01:41 +10:00
parent 02c2696134
commit aeece136a4

View File

@ -693,10 +693,6 @@ void OpenGl20Renderer::GlRenderBuffer::set(List<RenderPrimitive> primitives) {
}
void OpenGl20Renderer::logGlErrorSummary(String prefix) {
List<GLenum> errors;
while (GLenum error = glGetError())
errors.append(error);
if (GLenum error = glGetError()) {
prefix += ": ";
Logger::error(prefix.utf8Ptr());