Skip to content

Commit

Permalink
Update opengl.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat authored Oct 8, 2024
1 parent 0252a2a commit aa18129
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions third_party/opengl/opengl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include <type_traits>
#include <utility>

#include <android/log.h>
#include <glad/gl.h>

// Check if we have C++20. If yes, we can add C++20 std::span support
Expand Down Expand Up @@ -384,7 +383,6 @@ namespace OpenGL {
if (success == GL_FALSE) {
char buf[4096];
glGetShaderInfoLog(m_handle, 4096, nullptr, buf);
__android_log_print(ANDROID_LOG_INFO, "AlberDriver", "Failed to compile shader\nError: %s\nShader: %s", buf, sources[0]);
glDeleteShader(m_handle);

m_handle = 0;
Expand Down

0 comments on commit aa18129

Please sign in to comment.