diff --git a/src/graphics/renderTexture.cpp b/src/graphics/renderTexture.cpp index d801e56c..9144ed35 100644 --- a/src/graphics/renderTexture.cpp +++ b/src/graphics/renderTexture.cpp @@ -21,7 +21,7 @@ RenderTexture::~RenderTexture() bool RenderTexture::create() { - if (!GLAD_GL_ARB_framebuffer_object) + if (!glad_glGenFramebuffers) return false; if (!frame_buffer) {