Skip to content

Commit

Permalink
Differently check if we have frame buffer support, so it might work o…
Browse files Browse the repository at this point in the history
…n GLES2
  • Loading branch information
daid committed Mar 15, 2022
1 parent f08139c commit dd5bcc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphics/renderTexture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RenderTexture::~RenderTexture()

bool RenderTexture::create()
{
if (!GLAD_GL_ARB_framebuffer_object)
if (!glad_glGenFramebuffers)
return false;
if (!frame_buffer)
{
Expand Down

0 comments on commit dd5bcc9

Please sign in to comment.