Remove unused List from logGlErrorSummary
This commit is contained in:
parent
02c2696134
commit
aeece136a4
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user