forgor return

This commit is contained in:
Alug committed 2024-08-19 21:54:22 +02:00
1 parent f0d91a9708
commit cf5c0ca5f7
1 file changed
+3
+3
View File
@@ -771,7 +771,10 @@ void GLFramebuffer_IsFuncAvailible(void)
{
//this stuff needs atleast OGL 3.0
if (majorGL < 3)
{
supportFBO = false;
return;
}
if (isExtAvailable("GL_ARB_framebuffer_no_attachments",gl_extensions) && isExtAvailable("GL_ARB_framebuffer_object",gl_extensions) && isExtAvailable("GL_ARB_framebuffer_sRGB",gl_extensions))
supportFBO = true;